script/release in github-pages-health-check-1.18.0 vs script/release in github-pages-health-check-1.18.1
- old
+ new
@@ -29,13 +29,13 @@
# Make sure we haven't released this version before.
git fetch -t origin
-# (git tag -l | grep -q "$tag") && {
-# echo "Whoops, there's already a '${tag}' tag."
-# exit 1
-# }
+(git tag -l | grep -q "$tag") && {
+ echo "Whoops, there's already a '${tag}' tag."
+ exit 1
+}
# Tag it and bag it.
gem push github-pages-health-check-*.gem && git tag "$tag" &&
git push origin master && git push origin "$tag"