diff --git a/update-version.sh b/update-version.sh index df53265..c5787ed 100755 --- a/update-version.sh +++ b/update-version.sh @@ -33,7 +33,7 @@ fi # Apply it with Maven echo "🔧 Updating version: $current_version → $new_version" TAG=$(echo "$new_version" | tr '[:upper:]' '[:lower:]') -sed -i '' "s|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-backend:.*|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-backend:$TAG|" k8/deployment.yaml +sed -i "s|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-backend:.*|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-backend:$TAG|" k8/deployment.yaml echo "reference changed to $TAG" mvn versions:set -DnewVersion="$new_version" mvn versions:commit