Skip to content

Commit

Permalink
ci: release, ignore snapshot versions
Browse files Browse the repository at this point in the history
Signed-off-by: Edoardo Vacchi <[email protected]>
  • Loading branch information
evacchi committed Nov 13, 2024
1 parent c4dd0e6 commit cf2afa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
git config user.email "[email protected]"
- name: Set the version
if: ${{ ! endsWith(github.event.inputs.release-version, '-SNAPSHOT') }}
run: |
mvn --batch-mode --no-transfer-progress versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.release-version }}
git add .
Expand Down

0 comments on commit cf2afa2

Please sign in to comment.