parent
74ef072fdb
commit
d933c6085e
2 changed files with 2 additions and 1 deletions
|
@ -58,4 +58,4 @@ jobs:
|
||||||
allow: network.host
|
allow: network.host
|
||||||
network: host
|
network: host
|
||||||
platforms: linux/arm64
|
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')
|
||||||
|
|
|
@ -32,6 +32,7 @@ fi
|
||||||
|
|
||||||
# Apply it with Maven
|
# Apply it with Maven
|
||||||
echo "🔧 Updating version: $current_version → $new_version"
|
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:set -DnewVersion="$new_version"
|
||||||
mvn versions:commit
|
mvn versions:commit
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue