Skip to content

Commit

Permalink
chore: Adds the step to upload to gh releases (#235)
Browse files Browse the repository at this point in the history
The new version of semantic release separated the steps to create a new
release and upload the release assets. This should fix the issue with
homebrew release.


https://python-semantic-release.readthedocs.io/en/latest/migrating_from_v7.html
  • Loading branch information
stujfiter authored Jul 25, 2023
1 parent c233adf commit b6c1fa9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/secureliCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,16 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.ADMIN_TOKEN_SASCHA }}

- name: Python Semantic Release
uses: relekang/python-semantic-release@master
id: release
uses: python-semantic-release/python-semantic-release@v8.0.0
with:
github_token: ${{ secrets.ADMIN_TOKEN_SASCHA }}

- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.ADMIN_TOKEN_SASCHA }}

Expand Down

0 comments on commit b6c1fa9

Please sign in to comment.