fix submodules management in release pipeline
This commit is contained in:
@@ -211,7 +211,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}"
|
||||
|
||||
@@ -222,7 +222,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user