Browse Source

Fix name of tarballs for patch releases (#6296)

Since the latest updates to our release process which transitioned to
merge queues it appears that patch release create incorrectly named
tarballs. The version in the tarball is based on the branch name, which
doesn't change for patch releases, so the version needs to come from
`Cargo.toml`. Thankfully there's already a helpful shell script to do
that so use the shell script instead of using the branch name.
release-8.0.0
Alex Crichton 2 years ago
committed by GitHub
parent
commit
65cd25e4fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ci/build-src-tarball.sh
  2. 2
      ci/build-tarballs.sh

2
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

2
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

Loading…
Cancel
Save