Skip to content

Commit

Permalink
Update README on release
Browse files Browse the repository at this point in the history
Closes gh-13
  • Loading branch information
rwinch committed Aug 10, 2023
1 parent 51b726a commit 10bb0e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ jobs:
- name: Push the Tag
run: git push origin "v${{ github.event.inputs.release-version }}"
- name: Prepare Next Development Version
run: mvn versions:set -DnewVersion="${{ github.event.inputs.next-development-version }}"
- name: Push Next Development Version
run: |
mvn versions:set -DnewVersion="${{ github.event.inputs.next-development-version }}"
git commit -am 'Next Development Version ${{ github.event.inputs.next-development-version }}'
- name: Update README to latest Release
run: |
sed -i 's/^:version: .*/:version: ${{ github.event.inputs.release-version }}/' README.adoc
git commit -am 'Update README to Release ${{ github.event.inputs.release-version }}'
- name: Push the Commits
git push origin ${GITHUB_REF_NAME:-main}

0 comments on commit 10bb0e3

Please sign in to comment.