We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed5ebb commit 12849b7Copy full SHA for 12849b7
release.sh
@@ -1,5 +1,9 @@
1
#!/bin/bash
2
-./mvnw release:prepare release:perform -B || exit 1
3
-./mvnw package
4
-git commit -a --amend --no-edit
5
-git push -f
+
+./mvnw se.bjurr.gitchangelog:git-changelog-maven-plugin:semantic-version \
+ && (git commit -a -m "chore: setting version in pom" && git push || echo "No new version") \
+ && ./mvnw release:prepare release:perform -B \
6
+ && ./mvnw se.bjurr.gitchangelog:git-changelog-maven-plugin:git-changelog \
7
+ && git commit -a -m "chore: updating changelog" \
8
+ && git push \
9
+ || git clean -f
0 commit comments