fix submodules management in release pipeline

This commit is contained in:
nicolo.rossi committed 2026-09-18 15:31:27 +02:00
1 parent 8c9c6cdee5
commit a4e7c4f122
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -146,7 +146,7 @@ jobs:
- name: Commit release e tag
run: |
VERSION="${{ steps.version.outputs.RELEASE_VERSION }}"
git add $(find . -name 'pom.xml' -not -path './.ci-config/*')
git add -u -- '*pom.xml'
git commit -m "release: ${VERSION} [skip ci]"
git tag -a "${VERSION}" -m "Release ${VERSION}"
@@ -157,7 +157,7 @@ jobs:
NEXT="${{ steps.version.outputs.NEXT_VERSION }}"
mvn -B -s .ci-config/settings.xml $PROF versions:set \
-DnewVersion="$NEXT" -DgenerateBackupPoms=false
git add $(find . -name 'pom.xml' -not -path './.ci-config/*')
git add -u -- '*pom.xml'
git commit -m "chore: avanza versione a ${NEXT} [skip ci]"
- name: Push release + tag + versione successiva