Skip to content

Commit ded3711

Browse files
committed
fix release
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 8a3cf2c commit ded3711

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/set-version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ set -euo pipefail
55
VERSION=$1
66

77
if [ -z "$VERSION" ]; then
8-
echo "Usage: $0 <version>"
9-
exit 1
8+
echo "Usage: $0 <version>"
9+
exit 1
1010
fi
1111

1212
# replace all occurrences '<version>1.4.0-SNAPSHOT</version>' with '<version>$VERSION</version>'
1313
# in all pom.xml files in the current directory and subdirectories
1414

1515
find . -name 'pom.xml' -exec \
16-
sed -i "s/<version>1.4.0-SNAPSHOT<\/version>/<version>$VERSION<\/version>/g" {} +
16+
sed -i "s/<version>1.4.0-SNAPSHOT<\/version>/<version>$VERSION<\/version>/g" {} +

0 commit comments

Comments
 (0)