Skip to content

Commit

Permalink
Generate GitHub Release after publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyley committed Dec 1, 2023
1 parent a817984 commit 87b7352
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ jobs:
- run: git config user.email "[email protected]"
- run: git config user.name "Guardian Automated Maven Release"
- name: Publish the release
run: sbt "release with-defaults"
run: sbt "release with-defaults"
- name: Create Github Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
release_tag=$(git describe --tags --abbrev=0)
gh release create $release_tag --generate-notes --verify-tag

0 comments on commit 87b7352

Please sign in to comment.