Skip to content

Commit 00a0451

Browse files
committed
more fixes
1 parent b439331 commit 00a0451

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/build-extension.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
return
104104
}
105105
// Find the version tag
106-
var version_tag = github.ref.replace("refs/tags/", "")
106+
var version_tag = context.ref.replace("refs/tags/", "")
107107
console.log(version_tag)
108108
// Store it in the step output variables
109109
core.setOutput('version_tag', version_tag)
@@ -130,18 +130,6 @@ jobs:
130130
})
131131
*/
132132
133-
134-
# - id: get-branch-version-tag
135-
# uses: actions/github-script@v4
136-
# with:
137-
# script: |
138-
# var version_tag = ''
139-
# if (github.ref.startsWith('refs/tags/v')){
140-
# version_tag = github.ref.split('/')[2]
141-
# }
142-
# core.setOutput('version_tag', version_tag)
143-
# if: startsWith(github.ref, 'refs/tags/v')
144-
145133
- run: echo "branch version tag is ${{steps.get-branch-version-tag.outputs.version_tag}}"
146134

147135
# We might be able to use the github script action instead of this to script what we need to do in one go

0 commit comments

Comments
 (0)