Skip to content

Commit

Permalink
[CI/CD] Updates Release Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ThuF authored Dec 19, 2022
1 parent ef368be commit a00e81a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
- name: "Maven: Set Release Version"
run: mvn versions:set -DnewVersion=${{ github.event.inputs.releaseVersion }}

- name: "Git: Commit Release Version"
run: |
git add .
git commit -m "version set to ${{ github.event.inputs.releaseVersion }} for release"
- name: "Maven: Build"
run: mvn clean install -Dmaven.javadoc.skip=false

Expand Down Expand Up @@ -111,10 +116,8 @@ jobs:
Timesheets Management Application
- name: "Git: Commit Release Version"
- name: "Git: Push Release Version"
run: |
git add .
git commit -m "version set to ${{ github.event.inputs.releaseVersion }} for release"
git push
git checkout -b ${{ env.CHRONOS_VERSION }}
git push origin ${{ env.CHRONOS_VERSION }}
Expand Down

0 comments on commit a00e81a

Please sign in to comment.