no ''
All checks were successful
ci / build (push) Successful in 2m34s

This commit is contained in:
miwr 2025-04-24 14:09:57 +02:00
parent d26199c18f
commit 76398d6f5a

View file

@ -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