diff --git a/ci/build-src-tarball.sh b/ci/build-src-tarball.sh index 4856e6805e..571fcc47a3 100755 --- a/ci/build-src-tarball.sh +++ b/ci/build-src-tarball.sh @@ -5,7 +5,7 @@ set -ex # Determine the name of the tarball tag=dev if [[ $GITHUB_REF == refs/heads/release-* ]]; then - tag=v${GITHUB_REF:19} + tag=v$(./ci/print-current-version.sh) fi pkgname=wasmtime-$tag-src diff --git a/ci/build-tarballs.sh b/ci/build-tarballs.sh index 1e430a146b..eb6197c2a5 100755 --- a/ci/build-tarballs.sh +++ b/ci/build-tarballs.sh @@ -22,7 +22,7 @@ mkdir -p dist tag=dev if [[ $GITHUB_REF == refs/heads/release-* ]]; then - tag=v${GITHUB_REF:19} + tag=v$(./ci/print-current-version.sh) fi bin_pkgname=wasmtime-$tag-$platform