trakt-scrobbler
trakt-scrobbler copied to clipboard
[RFE] Release with github-actions
We can do this in a 2(or more, if anyone has other methods) ways:
- Manually creating the release, steps:
- Bump version in pyproject.toml
- Commit, tag, push
- Create release
- Run
poetry publishin workflow
- Publishing release from tag, steps:
- Bump version in pyproject.toml
- Commit, tag, push
- Create release and
poetry publishin workflow
Yeah, there's been a ~minor~ major hitch in this. Apparently, I set up 2FA for my PyPI account some time ago, and there's been a few mobile device changes since then. I don't see the site in my 2FA app, and PyPI says I haven't set up any recovery codes either. So I'm essentially locked out of my account :)
It's really weird though, I don't remember setting up 2FA on there. And if I did, I would have made sure to store the recovery codes in my password manager. Not sure what happened there.
Seems like I'm gonna have to abandon the account on PyPI :/
Edit: Ah, looks like there's a way to resolve this https://github.com/pypa/pypi-support That's nice :)
BTW, you can test the workflow with nektos/act.
Required files:
// event.json
{
"ref": "refs/tags/v1.4.2"
}
# .secrets
PYPI_TOKEN="<PYPI_API_TOKEN>"
then run act -e event.json to test the workflow.
Should we also add the aur release to the work flow?
Nope, because we'll have to setup an archlinux container to do that. I'll add auto-updater to pkgbuilds after my uni admission.
P.S. Did you test the action?
we'll have to setup an archlinux container to do that.
Ah right, hadn't thought it through.
P.S. Did you test the action?
Not yet, will try to get it done by this week. I guess it should be straightforward though - uploading to PyPI is simple. Plus I'm still waiting on the account recovery request, so won't be able to deploy for now.
Ah right, hadn't thought it through.
I'll do that in my pkgbuilds repo, as all workflows there uses archlinux container. ETA 3 months, after my uni admission...
How's the situation with pypi now?
Sadly, no response from their team ;-;
Any update from them?
Nope, they haven't replied to any request since March. Will have to wait and see.
Hey @ahmubashshir finally got the account 2FA reset. Will try testing your PR with act first