Skip to content

Commit

Permalink
Merge pull request #150 from niccokunzmann/github-release
Browse files Browse the repository at this point in the history
Create GitHub Release
  • Loading branch information
niccokunzmann authored Jul 9, 2024
2 parents afbf6a6 + c938925 commit 5c6e715
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,21 @@ jobs:
fi
twine check dist/*
twine upload dist/*
deploy-github-release:
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
if: startsWith(github.ref, 'refs/tags/v')
needs:
- run-tests
- deploy-tag-to-pypi
runs-on: ubuntu-latest
environment:
name: github-release
steps:
- uses: actions/checkout@v4
- name: Create GitHub release from tag
uses: ncipollo/release-action@v1
with:
allowUpdates: true
body: "To view the changes, please see the [Changelog](https://github.com/niccokunzmann/python-recurring-ical-events?tab=readme-ov-file#changelog). This release can be installed from [PyPI](https://pypi.org/project/recurring-ical-events/#history)."
generateReleaseNotes: false

0 comments on commit 5c6e715

Please sign in to comment.