updated version
Some checks failed
ci / build (push) Failing after 50s

This commit is contained in:
miwr 2025-04-24 13:25:03 +02:00
parent 74ef072fdb
commit d933c6085e
2 changed files with 2 additions and 1 deletions

View file

@ -58,4 +58,4 @@ jobs:
allow: network.host
network: host
platforms: linux/arm64
tags: ${{ steps.docker.outputs.tags }}
tags: $(awk '/<version>/ {count++; if(count == 2) print $0}' pom.xml | sed -n 's|.*<version>\([^<]*\)</version>.*|\1|p')

View file

@ -32,6 +32,7 @@ fi
# Apply it with Maven
echo "🔧 Updating version: $current_version$new_version"
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:$new_version|" k8/deployment.yaml
mvn versions:set -DnewVersion="$new_version"
mvn versions:commit