Skip to content

Commit 6e1f154

Browse files
committed
master => main
1 parent 15c1b4b commit 6e1f154

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

script/release

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ gem_name=httparty
1818
rm -rf $gem_name-*.gem
1919
gem build -q $gem_name.gemspec
2020

21-
# Make sure we're on the master branch.
22-
(git branch | grep -q '* master') || {
23-
echo "Only release from the master branch."
21+
# Make sure we're on the main branch.
22+
(git branch | grep -q '* main') || {
23+
echo "Only release from the main branch."
2424
exit 1
2525
}
2626

@@ -39,4 +39,4 @@ git fetch -t origin
3939

4040
# Tag it and bag it.
4141
gem push $gem_name-*.gem && git tag "$tag" &&
42-
git push origin master && git push origin "$tag"
42+
git push origin main && git push origin "$tag"

0 commit comments

Comments
 (0)