Skip to content

Commit bd2770a

Browse files
author
Vladimir Kotal
committed
set -e
1 parent d975631 commit bd2770a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

dev/release.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# see https://github.com/OpenGrok/opengrok/wiki/Release-process
77
#
88

9+
set -e
10+
911
if (( $# != 1 )); then
1012
echo "usage: `basename $0` <version>"
1113
exit 1
@@ -28,9 +30,9 @@ if [[ $ver == $VERSION ]]; then
2830
exit 1
2931
fi
3032

31-
git pull --ff-only && \
32-
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
33+
git pull --ff-only
34+
mvn versions:set -DgenerateBackupPoms=false "-DnewVersion=$VERSION"
35+
git commit pom.xml '**/pom.xml' -m "$VERSION"
36+
git push
37+
git tag "$VERSION"
38+
git push origin tag "$VERSION"

0 commit comments

Comments
 (0)