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.
2 parents e265913 + 8f15232 commit d2f5a27Copy full SHA for d2f5a27
release.sh
@@ -1,4 +1,5 @@
1
#!/bin/bash
2
+set -e # Exit the script if any command fails
3
4
if [ -z "$1" ]; then
5
echo "Please provide version that should be released and the next snapshot version. Example: ./release.sh 0.1.0 0.2.0-SNAPSHOT"
@@ -38,4 +39,4 @@ git push
38
39
echo "Setting version to $NEXT_VERSION"
40
./mvnw versions:set -DnewVersion=$NEXT_VERSION
41
git commit -am "Version $NEXT_VERSION"
-git push
42
+git push
0 commit comments