Skip to content

Commit

Permalink
Extract version from POM
Browse files Browse the repository at this point in the history
  • Loading branch information
acogoluegnes committed Oct 3, 2023
1 parent f128578 commit 79dde16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/package-perf-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

POM_VERSION=$(cat pom.xml | grep -oPm1 '(?<=<version>)[^<]+')
# shellcheck disable=SC2102
if [[ $POM_VERSION == *[SNAPSHOT]* ]]
then
Expand Down

0 comments on commit 79dde16

Please sign in to comment.