forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not check unleash on every PR, only master and tags (paritytech#5054)
* do not check unleash on every PR, only master and tags * move scripts folder * add signed-tag check to CI * remove publish-to-crates-io dependencies Co-authored-by: s3krit <[email protected]>
- Loading branch information
1 parent
49d645f
commit 4739c37
Showing
4 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# shellcheck source=lib.sh | ||
source "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/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 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters