script/release in cloudcannon-jekyll-0.5.0 vs script/release in cloudcannon-jekyll-1.0.0

- old
+ new

@@ -9,14 +9,14 @@ # Build the new gem rm -rf cloudcannon-jekyll-*.gem gem build -q cloudcannon-jekyll.gemspec -# Ensure we're on the legacy branch +# Ensure we're on the master branch -(git branch | grep -q '* legacy') || { - echo "Only release from the legacy branch." +(git branch | grep -q '* master') || { + echo "Only release from the master branch." exit 1 } # Figure out what version we're releasing @@ -31,9 +31,7 @@ exit 1 } # Push tag and upload new gem -git tag "$tag" && - git push origin legacy && - git push origin "$tag" && - gem push cloudcannon-jekyll-*.gem +gem push cloudcannon-jekyll-*.gem && git tag "$tag" && + git push origin master && git push origin "$tag" \ No newline at end of file