-
Notifications
You must be signed in to change notification settings - Fork 94
Add automatic release on PyPI #729
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
Conversation
mrbean-bremen
commented
Oct 8, 2022
- triggered on publishing a GH release
- includes creation of release documentation
- add PR templates, adapt issue templates
- minor documentation changes
- triggered on publishing a GH release - includes creation of release documentation - add PR templates, adapt issue templates - minor documentation changes
|
|
||
| - name: Copy and commit release documentation | ||
| run: | | ||
| cp -r main/gh-pages/* doc/release |
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.
Ahh interesting, the docs are published in gh-pages.
In the future I suggest to use readthedocs.io, which builds the docs automatically for releases and even PRs for preview. 👍
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.
Until now, I have always done it this way (including in pytest-order), but I will have a look at readthedocs in this case, thanks. Not for this release, though...
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.
The preview feature is indeed something I am missing in gh-pages, so I will definitely check this out!
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.
Actually, setting up ReadTheDocs is very easy, as it turned out - I will probably change this before the release. Maybe tomorrow if I get to it... The PR preview is too good a feature to miss, and as far as I understand, there is literally nothing to do in the release workflow (apart from removing the GH Pages stuff again). Thanks for the tip!
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.
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.
Thanks, I noticed this. A bit odd that this cannot be configured in the configuration file...
- use build instead of setup - changed token name
…elease - includes creation of release documentation - add PR templates, adapt issue templates - minor documentation changes
