8282 needs :
8383 - build-extension
8484 - test-javascript-libraries
85- if : startsWith(github.ref, 'refs/tags/v')
85+ # if: startsWith(github.ref, 'refs/tags/v')
8686
8787 steps :
8888 - name : Download all built extension packages
@@ -97,12 +97,16 @@ jobs:
9797 uses : actions/github-script@v4
9898 with :
9999 script : |
100+ console.log(context)
101+ console.log(context.ref)
102+ console.log(github.ref)
100103 // This script will create a release, and upload our files and release notes to it
101- if (!github.ref.startsWith('refs/tags/v')) {
104+ if (!"${{ github.ref }}" .startsWith('refs/tags/v')) {
102105 return
103106 }
104107 // Find the version tag
105108 var version_tag = github.ref.replace("refs/tags/", "")
109+ console.log(version_tag)
106110 // Store it in the step output variables
107111 core.setOutput('version_tag', version_tag)
108112
@@ -127,7 +131,7 @@ jobs:
127131 release_id: ...
128132 })
129133 */
130- if : startsWith(github.ref, 'refs/tags/v')
134+ # if: startsWith(github.ref, 'refs/tags/v')
131135
132136
133137 # - id: get-branch-version-tag
@@ -142,7 +146,7 @@ jobs:
142146 # if: startsWith(github.ref, 'refs/tags/v')
143147
144148 - run : echo "branch version tag is ${{steps.get-branch-version-tag.outputs.version_tag}}"
145- if : startsWith(github.ref, 'refs/tags/v')
149+ # if: startsWith(github.ref, 'refs/tags/v')
146150
147151 # We might be able to use the github script action instead of this to script what we need to do in one go
148152 - name : Create release
0 commit comments