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 8a3cf2c commit ded3711Copy full SHA for ded3711
scripts/set-version.sh
@@ -5,12 +5,12 @@ set -euo pipefail
5
VERSION=$1
6
7
if [ -z "$VERSION" ]; then
8
- echo "Usage: $0 <version>"
9
- exit 1
+ echo "Usage: $0 <version>"
+ exit 1
10
fi
11
12
# replace all occurrences '<version>1.4.0-SNAPSHOT</version>' with '<version>$VERSION</version>'
13
# in all pom.xml files in the current directory and subdirectories
14
15
find . -name 'pom.xml' -exec \
16
- sed -i "s/<version>1.4.0-SNAPSHOT<\/version>/<version>$VERSION<\/version>/g" {} +
+ sed -i "s/<version>1.4.0-SNAPSHOT<\/version>/<version>$VERSION<\/version>/g" {} +
0 commit comments