feat: provide way to build and attach platforms
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Fail unless the release tag matches the crate version.
|
||||
# Env: TAG (a leading "v" is tolerated). Run from the repository root.
|
||||
|
||||
set -euo pipefail
|
||||
: "${TAG:?set TAG to the tag being released}"
|
||||
|
||||
here="$(cd "$(dirname "$0")" && pwd)"
|
||||
tag="${TAG#v}"
|
||||
version="$(bash "$here/version.sh")"
|
||||
|
||||
if [ "$tag" != "$version" ]; then
|
||||
echo "tag ${TAG} does not match Cargo.toml version ${version}" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "tag ${TAG} matches crate version ${version}"
|
||||
|
||||
Reference in New Issue
Block a user