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 d975631 commit bd2770aCopy full SHA for bd2770a
dev/release.sh
@@ -6,6 +6,8 @@
6
# see https://github.com/OpenGrok/opengrok/wiki/Release-process
7
#
8
9
+set -e
10
+
11
if (( $# != 1 )); then
12
echo "usage: `basename $0` <version>"
13
exit 1
@@ -28,9 +30,9 @@ if [[ $ver == $VERSION ]]; then
28
30
29
31
fi
32
-git pull --ff-only && \
- mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$VERSION && \
33
- git commit pom.xml **/pom.xml -m $VERSION && \
34
- git push && \
35
- git tag $VERSION
36
- git push origin tag $VERSION
+git pull --ff-only
+mvn versions:set -DgenerateBackupPoms=false "-DnewVersion=$VERSION"
+git commit pom.xml '**/pom.xml' -m "$VERSION"
+git push
37
+git tag "$VERSION"
38
+git push origin tag "$VERSION"
0 commit comments