Skip to content

Commit

Permalink
ci: fix git add
Browse files Browse the repository at this point in the history
We have no subdirs with pom files, so remove this. Otherwise CI stumbles over it.
  • Loading branch information
poikilotherm committed Jul 10, 2024
1 parent ae3d7e7 commit edac435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
- name: Update version in pom.xml and tag
run: |
mvn -B versions:set -DnewVersion="${{ inputs.version }}" -DgenerateBackupPoms=false
git add pom.xml */pom.xml
git add pom.xml
git commit -m "[github-action] Release version ${{ inputs.version }}"
git tag "${{ inputs.version }}"
- name: Increment to next version, commit and push
run: |
mvn -B versions:set -DnextSnapshot -DnextSnapshotIndexToIncrement=2 -DgenerateBackupPoms=false
git add pom.xml */pom.xml
git add pom.xml
git commit -m "[github-action] Increment version after release of ${{ inputs.version }}"
git push --tags origin main
Expand Down

0 comments on commit edac435

Please sign in to comment.