Skip to content

Commit

Permalink
update regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Ruhsam committed Jun 21, 2024
1 parent 93a188f commit 562bc1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quarkus-update
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -x

branchName=$1
currentVersion=$2
Expand All @@ -10,7 +11,7 @@ repository=$6

echo $

if [ "$branchName" =~ "^renovate/.*quarkus.platform.version$" ]; then
if [[ "$branchName" =~ renovate/.*quarkus.platform.version ]]; then
echo "Branch: $branchName; Old version: $oldVersion; New MajorMinorVersion: $newMajorMinor"
mvn versions:set-property -Dproperty=quarkus.platform.version -DnewVersion=$currentVersion
/tmp/renovate/repos/$platform/$repository/mvnw -f /tmp/renovate/repos/$platform/$repository/pom.xml io.quarkus.platform:quarkus-maven-plugin:$newVersion:update
Expand Down

0 comments on commit 562bc1f

Please sign in to comment.