Skip to content

Commit 66a54a6

Browse files
marko-bekhtaDavideD
authored andcommitted
Change the condition for version-update command
1 parent 49ad7cb commit 66a54a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-version.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pushd $WORKSPACE
2323

2424
source "$SCRIPTS_DIR/mvn-setup.sh"
2525

26-
if [ -f bom/pom.xml ]; then
26+
if [ -f bom/pom.xml ] && [ "$PROJECT" == "ogm" ]; then
2727
./mvnw -Prelocation clean versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -f bom/pom.xml
2828
elif [ -z "$VERSION_INHERITED" ]; then
2929
./mvnw -Prelocation clean versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false

0 commit comments

Comments
 (0)