We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65370a9 commit ade61beCopy full SHA for ade61be
script/release.sh
@@ -3,8 +3,13 @@
3
set -e
4
5
bundle exec rake package:update
6
-bundle exec bump ${1:-minor} --no-commit
7
-bundle exec rake generate_changelog
8
-git add VERSION CHANGELOG.md
9
-git commit -m "chore(release): version $(cat VERSION)" && git push origin master
10
-bundle exec rake tag_for_release
+
+if git log -1 | grep "feat(gems)"; then
+ bundle exec bump ${1:-minor} --no-commit
+ bundle exec rake generate_changelog
+ git add VERSION CHANGELOG.md
11
+ git commit -m "chore(release): version $(cat VERSION)" && git push origin master
12
+ bundle exec rake tag_for_release
13
+else
14
+ echo "No gems updated, not releasing"
15
+fi
0 commit comments