-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GitHub workflow files for test PyPI and GitHub release #95
Conversation
![]() @sbillinge I have done some testing using my own package. Hope to test on Tagging @alisnwu - your script will be used to insert the |
permissions: | ||
contents: write | ||
jobs: | ||
build-package: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produce wheel/sdist, have them available under dist
|
||
update-changelog: | ||
needs: [build-package] | ||
if: "!contains(github.ref, 'rc')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it has no rc
, then update CHANGELOG.rst
body_path: CHANGELOG.txt | ||
draft: true | ||
|
||
pypi-publish: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upload to pypi - right now test.pypi is used for testing.
Could you please merge this to
pypi-build
instead ofmain
?Testing will be done using Test PyPI only.