Skip to content

Commit

Permalink
Use pre-defined version in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicwu committed Feb 7, 2021
1 parent 0289384 commit a201ae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: sed -i -e 's|^\( <version>\).*\(</version>\)$|\1${{ github.event.inputs.major }}.${{ github.event.inputs.minor }}.${{ github.event.inputs.patch }}\2|' pom.xml
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
Expand Down

0 comments on commit a201ae4

Please sign in to comment.