Skip to content

Commit

Permalink
update release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zagy committed Nov 8, 2024
1 parent 30f42a2 commit 3ee8938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-this.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ set -euxo pipefail

current_branch=$(git rev-parse --abbrev-ref HEAD)

if [ "$current_branch" != "master" ]; then
if [ "$current_branch" != "main" ]; then
set +x
echo
echo
echo "ERROR: can only release from master. We are on $current_branch"
echo "ERROR: can only release from main. We are on $current_branch"
echo
exit 1
fi
Expand Down

0 comments on commit 3ee8938

Please sign in to comment.