Skip to content

Commit c70e2c0

Browse files
committed
Set RELEASE_VERSION for main in checksums job
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
1 parent 667d264 commit c70e2c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,15 @@ jobs:
205205
steps:
206206

207207
- name: set the release version (tag)
208+
if: startsWith(github.ref, 'refs/tags/v')
208209
shell: bash
209210
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
210211

212+
- name: set the release version (main)
213+
if: github.ref == 'refs/heads/main'
214+
shell: bash
215+
run: echo "RELEASE_VERSION=canary" >> $GITHUB_ENV
216+
211217
- name: download release assets
212218
uses: actions/download-artifact@v3
213219

0 commit comments

Comments
 (0)