-
Notifications
You must be signed in to change notification settings - Fork 4
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 PyPI trusted publisher as an option #93
Conversation
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.
Please can you also add a "migration" for version 2.0.0 that print a message to the user to visit https://diamondlightsource.github.io/python-copier-template/2.0.0/how-to/pypi.html to find out how to setup PyPI trusted publishing. I will add to this PR to modify pypi.md
so it has the right docs and change the developer portal to match.
template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja
Outdated
Show resolved
Hide resolved
4df614e
to
00cdda4
Compare
I've force pushed and added docs so when you're done with the changes I can review it again |
5253eb3
to
827178d
Compare
9649e1e
to
80aea67
Compare
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.
Also, I think my commits to pypi.md
got lost at some point, please can you restore:
5253eb3
template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja
Outdated
Show resolved
Hide resolved
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.
This looks all good to me.
I see that we are opinionated on requiring use of trusted publishing. Approved.
forces use of trusted publishing
no longer need as no ${{}} to escape anymore
b04dd28
to
5b245cb
Compare
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.
LGTM
closes #40