We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15c1b4b commit 6e1f154Copy full SHA for 6e1f154
script/release
@@ -18,9 +18,9 @@ gem_name=httparty
18
rm -rf $gem_name-*.gem
19
gem build -q $gem_name.gemspec
20
21
-# Make sure we're on the master branch.
22
-(git branch | grep -q '* master') || {
23
- echo "Only release from the master branch."
+# Make sure we're on the main branch.
+(git branch | grep -q '* main') || {
+ echo "Only release from the main branch."
24
exit 1
25
}
26
@@ -39,4 +39,4 @@ git fetch -t origin
39
40
# Tag it and bag it.
41
gem push $gem_name-*.gem && git tag "$tag" &&
42
- git push origin master && git push origin "$tag"
+ git push origin main && git push origin "$tag"
0 commit comments