diff --git a/.gitea/workflows/maven-release.yml b/.gitea/workflows/maven-release.yml index ed91309..231bd76 100644 --- a/.gitea/workflows/maven-release.yml +++ b/.gitea/workflows/maven-release.yml @@ -145,7 +145,7 @@ jobs: - name: Commit release e tag run: | VERSION="${{ steps.version.outputs.RELEASE_VERSION }}" - git add pom.xml + git add $(find . -name 'pom.xml' -not -path './.ci-config/*') git commit -m "release: ${VERSION} [skip ci]" git tag -a "${VERSION}" -m "Release ${VERSION}" @@ -156,7 +156,7 @@ jobs: NEXT="${{ steps.version.outputs.NEXT_VERSION }}" mvn -B -s .ci-config/settings.xml $PROF versions:set \ -DnewVersion="$NEXT" -DgenerateBackupPoms=false - git add pom.xml + git add $(find . -name 'pom.xml' -not -path './.ci-config/*') git commit -m "chore: avanza versione a ${NEXT} [skip ci]" - name: Push release + tag + versione successiva