-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
✨ Setup automated releases #57
Conversation
Co-authored-by: Marcelo Trylesinski <[email protected]>
Co-authored-by: Marcelo Trylesinski <[email protected]>
Hello! Were you able to reach @andrew-d to setup the pypi token? |
Unfortunately, I can't create GH releases... I'll let this PR in standby in case we move |
We can modify the trigger so it runs on a git tag. That way we can publish with your current permissions |
Ok, that works |
Just changed it to run on every git tag that starts with And here i got the answer https://stackoverflow.com/questions/61891328/trigger-github-action-only-on-new-tags |
.github/workflows/publish.yaml
Outdated
types: [published] | ||
push: | ||
tags: | ||
- 'v*' # Run on every git tag starting with "v". i.e: v1.5.0 |
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.
I think the tags here are just the version, no?
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.
Right, for example git tag v0.0.5
+ git push
should trigger this workflow
Gracias @Ambro17 :) |
Publish a new pypi release when a github release is created
Solves #56