Skip to content

Commit 89652d0

Browse files
committed
allow releases from main branch
1 parent 8c1ec7f commit 89652d0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

script/release

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ cd $(dirname "$0")/..
1212
rm -rf scientist-*.gem
1313
gem build -q scientist.gemspec
1414

15-
# Make sure we're on the master branch.
15+
# Make sure we're on the main branch.
1616

17-
(git branch --no-color | grep -q '* master') || {
18-
echo "Only release from the master branch."
17+
(git branch --no-color | grep -q '* main') || {
18+
echo "Only release from the main branch."
1919
exit 1
2020
}
2121

@@ -35,4 +35,4 @@ git fetch -t origin
3535
# Tag it and bag it.
3636

3737
gem push scientist-*.gem && git tag "$tag" &&
38-
git push origin master && git push origin "$tag"
38+
git push origin main && git push origin "$tag"

0 commit comments

Comments
 (0)