diff options
author | Anuraag Agrawal <anuraaga@gmail.com> | 2023-06-12 23:52:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 07:52:01 -0700 |
commit | 4247346029a7c4697df884590c6385561e772b97 (patch) | |
tree | aa7460ea2293a9a168aa0c24d726dee278539278 /.github | |
parent | e425ccb3095ef3a845b3248b44de1f6b427ddcad (diff) | |
download | wabt-4247346029a7c4697df884590c6385561e772b97.tar.gz wabt-4247346029a7c4697df884590c6385561e772b97.tar.bz2 wabt-4247346029a7c4697df884590c6385561e772b97.zip |
Use tag or sha for tarball name since branch name can have arbitrary characters (#2260)
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/release-archive/action.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/release-archive/action.yml b/.github/actions/release-archive/action.yml index a81cf918..22cb88d3 100644 --- a/.github/actions/release-archive/action.yml +++ b/.github/actions/release-archive/action.yml @@ -14,7 +14,7 @@ runs: shell: bash run: | OSNAME=$(echo ${{ inputs.os }} | sed 's/-latest//') - VERSION=${{ github.ref_name }} + VERSION=${{ github.event.release.tag_name || github.sha }} PKGNAME="wabt-$VERSION-$OSNAME" TARBALL=$PKGNAME.tar.gz SHASUM=$PKGNAME.tar.gz.sha256 |