Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit be5347b

Browse files
committed
Add escape hatch if the COIN tag can't be found
1 parent 44c8dde commit be5347b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/coin-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ jobs:
3939
run: |
4040
export COIN=$(echo ${GITHUB_REF#refs/heads/int-})
4141
echo "I hope you remembered to run 'yarn version --prerelease --preid \"$COIN\"'"
42+
[ -z "$COIN" ] && echo "the COIN tag is not set. Aborting publish" && exit 1
4243
yarn publish --tag "$COIN"

0 commit comments

Comments
 (0)