mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-05 09:54:06 +08:00
9 lines
226 B
Bash
Executable File
9 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
root="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
|
|
. "$root/release.env"
|
|
[ "${1:?usage: check-release-tag.sh TAG}" = "v$PKG_VERSION" ] || {
|
|
printf 'release tag must be v%s\n' "$PKG_VERSION" >&2
|
|
exit 1
|
|
}
|