Skip to content

Commit 0e3b8eb

Browse files
committed
create-release: log into GitHub CLI if necessary
1 parent 55fc48f commit 0e3b8eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/create-release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ if [[ -n $unpushed_commits ]]; then
3131
exit 1
3232
fi
3333

34+
if ! gh auth status &>/dev/null; then
35+
gh auth login
36+
fi
37+
3438
git branch -D "release-${version}" || true
3539
git checkout -b "release-${version}"
3640

0 commit comments

Comments
 (0)