Skip to content

Commit 9f6b90f

Browse files
authored
chore: update artifact-hunt.yml to pick the version from pom.xml (#176)
* chore: update artifact-hunt.yml to pick the version from pom.xml * update artifact-hunt.yml
1 parent ed60685 commit 9f6b90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebuild/release/artifact-hunt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ phases:
1414
pre_build:
1515
commands:
1616
- git checkout $BRANCH
17-
- export VERSION=$(grep version pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
17+
- export VERSION=$(grep '<version>' pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
1818
build:
1919
commands:
2020
- ./look_4_version.sh $VERSION

0 commit comments

Comments
 (0)