Skip to content

Commit b439331

Browse files
committed
Re-jig release
1 parent 10374f5 commit b439331

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build-extension.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
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
@@ -99,7 +99,7 @@ jobs:
9999
script: |
100100
console.log(context.ref)
101101
// This script will create a release, and upload our files and release notes to it
102-
if (!"${{ context.ref }}".startsWith('refs/tags/v')) {
102+
if (!context.ref.startsWith('refs/tags/v')) {
103103
return
104104
}
105105
// Find the version tag
@@ -129,7 +129,6 @@ jobs:
129129
release_id: ...
130130
})
131131
*/
132-
# if: startsWith(github.ref, 'refs/tags/v')
133132
134133

135134
# - id: get-branch-version-tag
@@ -144,12 +143,10 @@ jobs:
144143
# if: startsWith(github.ref, 'refs/tags/v')
145144

146145
- run: echo "branch version tag is ${{steps.get-branch-version-tag.outputs.version_tag}}"
147-
# if: startsWith(github.ref, 'refs/tags/v')
148146

149147
# We might be able to use the github script action instead of this to script what we need to do in one go
150148
- name: Create release
151149
uses: softprops/action-gh-release@v1 # Read the docs here: https://github.com/softprops/action-gh-release
152-
if: startsWith(github.ref, 'refs/tags/v')
153150
with:
154151
name: Running Challenges ${{steps.get-branch-version-tag.outputs.version_tag}}
155152
files: "extension-binaries/*/running_challenges*.zip"

0 commit comments

Comments
 (0)