Skip to content

Commit

Permalink
Enable publish job to create GitHub release (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsousa authored Jun 11, 2023
2 parents c2c8bea + d19bfd6 commit 202c1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
url: https://pypi.org/p/openbakery
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # Required by 'action-gh-release'

steps:
- name: Get date & flat tag
Expand All @@ -69,6 +70,5 @@ jobs:
uses: softprops/action-gh-release@v1
with:
body: '[Release Notes](https://github.com/miguelsousa/openbakery/blob/main/CHANGELOG.md#${{ steps.date_tag.outputs.VERSION }}---${{ steps.date_tag.outputs.TODAY }})'
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
files: ./dist/*.tar.gz

0 comments on commit 202c1af

Please sign in to comment.