summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-12-09 15:40:59 -0800
committerGitHub <noreply@github.com>2021-12-09 15:40:59 -0800
commite0d043eb8bc4d0d6a474a0f3a68ccb7517a63342 (patch)
treec9b4ec6579e209ae11ec124d2b96b56b7c4aeda8
parent2689bc1233a6aee97ca04d5f60af0a8c663479c8 (diff)
downloadbinaryen-e0d043eb8bc4d0d6a474a0f3a68ccb7517a63342.tar.gz
binaryen-e0d043eb8bc4d0d6a474a0f3a68ccb7517a63342.tar.bz2
binaryen-e0d043eb8bc4d0d6a474a0f3a68ccb7517a63342.zip
Fix filenames in create_release CI workflow (#4366)
-rw-r--r--.github/workflows/create_release.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml
index 941517c6f..a13ec6561 100644
--- a/.github/workflows/create_release.yml
+++ b/.github/workflows/create_release.yml
@@ -59,7 +59,7 @@ jobs:
id: archive
run: |
OSNAME=$(echo ${{ matrix.os }} | sed 's/-latest//')
- VERSION=${{ github.event.release.tag_name }}
+ VERSION=$GITHUB_REF_NAME
PKGNAME="binaryen-$VERSION-x86_64-$OSNAME"
TARBALL=$PKGNAME.tar.gz
SHASUM=$PKGNAME.tar.gz.sha256
@@ -116,7 +116,7 @@ jobs:
- name: archive
id: archive
run: |
- VERSION=${{ github.event.release.tag_name }}
+ VERSION=$GITHUB_REF_NAME
PKGNAME="binaryen-$VERSION-x86_64-linux"
TARBALL=$PKGNAME.tar.gz
SHASUM=$PKGNAME.tar.gz.sha256