-
Notifications
You must be signed in to change notification settings - Fork 5
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 RELEASE.md, and update release workflow to use PyPI's trusted publisher #58
Comments
@Sheila-nk I can help out directly if you wish or by reviewing anything quickly! |
Thanks for catching this @consideRatio |
Ping @consideRatio 😞
which states that it might a typo problem but I cannot find any typos, whether in the project's PyPI trusted publishers url or the release.yaml file. I am trying to figure out what the problem could be but I am currently stumped. |
Ah I think I understand! BackgroundSo what git remote --verbose
origin [email protected]:jupyterhub/pytest-jupyterhub (fetch)
origin [email protected]:jupyterhub/pytest-jupyterhub (push) I quite often also setup another remote called
What happenedI think you have The workflow can run on your fork, or it can run in this repository as owned by the jupyterhub organization. SolutionRename the named remote destination I think in practice this would look like this: git remote rename origin fork
git remote add origin [email protected]:jupyterhub/pytest-jupyterhub Then after, you can verify something like the following:
|
After that is done, you are almost ready to make a release attempt again. I suggest some cleanup first. After this cleanup, you can perform the steps in RELEASE.md again I think without issues.
|
😆 oh wow!
I was kind of curious why the release instructions made me fetch from Thank you! Let me make the changes then try again. |
Hmmm... well I've noticed tbump wants to push to Would these cli options from the tbump readme allow me to push the tag myself?
|
Ah, so maybe it pushes to the local branchs associated remote? I'm on a mobile phone now, see if you can "set remote branch" to main in the origin remote. I always google on how to do that. |
Maybe tbump config is availbale of relevance to this also, so searching config reference may be relevant. |
Ah yes btw, you can do manual things also! Just: git push origin refs/tags/0.1.0 i think |
It finally worked 😭 I opted to delete remote |
Thank you @consideRatio for your assistance!! Your help with this release was greatly appreciated ❤️ |
Wieeee congratulations on the initial release @Sheila-nk!!! |
I realize that there wasn't a RELEASE.md file in this repo now, I incorrectly thought it was though @Sheila-nk!
I suggest these action points, where we have a bit of additional complexity as the way we look to implement RELEASE.md changed very recently.
pypi_password
in this GitHub project's settingsThe text was updated successfully, but these errors were encountered: