Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.

Commit 894b2d6

Browse files
committed
Ensure github token is set for release
1 parent 3d82273 commit 894b2d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ checkGPG() {
144144
}
145145

146146
goal_release() {
147+
if [ -z "${GITHUB_TOKEN}" ]; then
148+
echo "needs GITHUB_TOKEN"
149+
exit 1
150+
fi
147151
checkGPG && goal_test && goal_clean && buildCss && lein with-profile +release release $1 && scripts/github-release.sh
148152
}
149153

0 commit comments

Comments
 (0)