Skip to content

Commit

Permalink
do not generate backup poms when setting new snapshot version after r…
Browse files Browse the repository at this point in the history
…elease (#812)
  • Loading branch information
cfkoehler authored Jun 4, 2024
1 parent 2aae278 commit 12747f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:

- name: Set the next snapshot version
run: |
mvn -B -V -e -ntp versions:set -DnewVersion=${{ env.NEXT_DEV_VERSION }}
mvn -B -V -e -ntp versions:set -DnewVersion=${{ env.NEXT_DEV_VERSION }} -DgenerateBackupPoms=false
mvn -B -V -e -ntp versions:commit
git add .
git commit -m "[github-actions](${{ github.actor }}) next development iteration"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Set the next snapshot version
run: |
mvn -B -V -e -ntp versions:set -DnewVersion=${{ github.event.inputs.next_version }}
mvn -B -V -e -ntp versions:set -DnewVersion=${{ github.event.inputs.next_version }} -DgenerateBackupPoms=false
mvn -B -V -e -ntp versions:commit
git add .
git commit -m "[github-actions](${{ github.actor }}) next development iteration"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ nbactions*.xml

# Linter reports
megalinter-reports

# Maven stuff
pom.xml.versionsBackup

0 comments on commit 12747f5

Please sign in to comment.