mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 01:57:56 +00:00
07e4b9c997
* move lib.sh to common dir * make check-labels a github action workflow
17 lines
479 B
Bash
Executable File
17 lines
479 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# shellcheck source=../common/lib.sh
|
|
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/../common/lib.sh"
|
|
|
|
version="$CI_COMMIT_TAG"
|
|
|
|
echo '[+] Checking tag has been signed'
|
|
check_tag "paritytech/substrate" "$version"
|
|
case $? in
|
|
0) echo '[+] Tag found and has been signed'; exit 0
|
|
;;
|
|
1) echo '[!] Tag found but has not been signed. Aborting release.'; exit 1
|
|
;;
|
|
2) echo '[!] Tag not found. Aborting release.'; exit 1
|
|
esac
|