Fix naming of the source tarball (#6068)
This refactoring from #5766 accidentally broke the tag name calculation for the `build-src-tarball.sh` script so this fixes it by copying over the same logic from `build-tarballs.sh`.
This commit is contained in:
@@ -4,8 +4,8 @@ set -ex
|
|||||||
|
|
||||||
# Determine the name of the tarball
|
# Determine the name of the tarball
|
||||||
tag=dev
|
tag=dev
|
||||||
if [[ $GITHUB_REF == refs/tags/v* ]]; then
|
if [[ $GITHUB_REF == refs/heads/release-* ]]; then
|
||||||
tag=${GITHUB_REF#refs/tags/}
|
tag=v${GITHUB_REF:19}
|
||||||
fi
|
fi
|
||||||
pkgname=wasmtime-$tag-src
|
pkgname=wasmtime-$tag-src
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user