Skip to content

Commit

Permalink
[feat] mvn prepare release phase used for release preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramachandran Nellaiyappan committed Mar 10, 2024
1 parent f5ab1ee commit 2012c2f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,8 @@ jobs:
distribution: 'temurin'
cache: maven

- name: Set Release Version
run: mvn -B versions:set -DnewVersion=${{ inputs.releaseVersion }} -DgenerateBackupPoms=false

- name: Build with Maven
run: mvn -B verify --file pom.xml
- name: Prepare Release
run: mvn -B -V -DpushChanges=false release:prepare -DscmCommentPrefix='chore:' -DreleaseVersion=${{ inputs.releaseVersion }}

- name: Create Release Tag with Notes
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 2012c2f

Please sign in to comment.