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 ed60685 commit 9f6b90fCopy full SHA for 9f6b90f
codebuild/release/artifact-hunt.yml
@@ -14,7 +14,7 @@ phases:
14
pre_build:
15
commands:
16
- git checkout $BRANCH
17
- - export VERSION=$(grep version pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
+ - export VERSION=$(grep '<version>' pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
18
build:
19
20
- ./look_4_version.sh $VERSION
0 commit comments