-
Notifications
You must be signed in to change notification settings - Fork 16
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
Workflow for automated version bump #208
Comments
The current workflow automatically publishes to PyPi whenever there is a new release tag on main branch. Still manual is building the documentation and also creating the repo release. |
Hi @jasonlyik, I see that the workflow to publish the package on Pypi has failed because of the authentication token Regarding the documentation, I think we need to look into readthedocs options to auto-build the documentation on the main branch |
Yup, I've added the required Trusted Publisher settings on Pypi to solve that issue. For now, I didn't want to delete and re-make the 1.0.4 tag, so I manually published it, but I believe when we reach 1.0.5 there should be no further issues. For the documentation, sounds good. I think we should honestly get rid of the documentation branch, it is not different from the dev branch and the docs are stable enough now that we can just update on main like you say. |
@ben9809 Looks like the automated flow for publishing hasn't been fixed by adding this repo as trusted published. I think it's because Based on this: python-poetry/poetry#7940 (comment) So I've made some updates to the script: 479a710 But I'm not sure how to test whether or not the action works, do you think I should pull it into main and delete / remake the tag? |
@jasonlyik It seems strange it's not supported, because I've already implemented this workflow for another open-source project and it os still working. In the meantime try to delete/remake the tag to test if it works with the new workflow |
From the error message it seems like there is a problem with the authentication token. |
Got it set, and the action was successful! Quick check of 1.0.5 and everything is good |
Great 💪🏻 |
Everytime we merge to main, upload a new version to pypi.
Separately, can also automate readthedocs build
The text was updated successfully, but these errors were encountered: