We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1ec7f commit 89652d0Copy full SHA for 89652d0
1 file changed
script/release
@@ -12,10 +12,10 @@ cd $(dirname "$0")/..
12
rm -rf scientist-*.gem
13
gem build -q scientist.gemspec
14
15
-# Make sure we're on the master branch.
+# Make sure we're on the main branch.
16
17
-(git branch --no-color | grep -q '* master') || {
18
- echo "Only release from the master branch."
+(git branch --no-color | grep -q '* main') || {
+ echo "Only release from the main branch."
19
exit 1
20
}
21
@@ -35,4 +35,4 @@ git fetch -t origin
35
# Tag it and bag it.
36
37
gem push scientist-*.gem && git tag "$tag" &&
38
- git push origin master && git push origin "$tag"
+ git push origin main && git push origin "$tag"
0 commit comments