script/release in cloudcannon-jekyll-0.4.0 vs script/release in cloudcannon-jekyll-0.5.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 master branch +# Ensure we're on the legacy branch -(git branch | grep -q '* master') || { - echo "Only release from the master branch." +(git branch | grep -q '* legacy') || { + echo "Only release from the legacy branch." exit 1 } # Figure out what version we're releasing @@ -32,8 +32,8 @@ } # Push tag and upload new gem git tag "$tag" && - git push origin master && + git push origin legacy && git push origin "$tag" && gem push cloudcannon-jekyll-*.gem