-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.16: CI: add check for explicit spl-token-cli version (backport of #…
…34430) (#34464) * CI: add check for explicit spl-token-cli version (#34430) * Add script to specify spl-token-cli version * Add check for spl-token-cli version to CI * Add minor release branch cleanup instruction to unblock CI on the new stable branch --------- Co-authored-by: Will Hickey <[email protected]> (cherry picked from commit e6e191f) * Set spl-token-cli version for installs --------- Co-authored-by: Tyera <[email protected]>
- Loading branch information
1 parent
6a94de9
commit e4e043c
Showing
5 changed files
with
22 additions
and
0 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,5 @@ | ||
source scripts/spl-token-cli-version.sh | ||
if [[ -z $splTokenCliVersion ]]; then | ||
echo "On the stable channel, splTokenCliVersion must be set in scripts/spl-token-cli-version.sh" | ||
exit 1 | ||
fi |
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
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,8 @@ | ||
# populate this on the stable branch | ||
splTokenCliVersion=v3.2.0 | ||
|
||
maybeSplTokenCliVersionArg= | ||
if [[ -n "$splTokenCliVersion" ]]; then | ||
# shellcheck disable=SC2034 | ||
maybeSplTokenCliVersionArg="--version $splTokenCliVersion" | ||
fi |