-
Notifications
You must be signed in to change notification settings - Fork 27
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
Push to pypi when a new release is created #196
Comments
@jonhealy1 unsure what the status is here, but v3.1.0 isn't on pypi. |
Hi. I will push to pypi in the morning |
https://pypi.org/project/stac-validator/3.1.0/ It was less problematic than I thought |
Still need a good script |
If you want, stactools has a publish-on-tag-push workflow that you could copy: https://github.com/stac-utils/stactools/blob/main/.github/workflows/release.yml. |
nice thanks. What does this do? What activates this? My git is weak
|
You push a branch with a tag associated to it maybe - what would that look like? |
push:
tags:
- "*" means the workflow will run any time a tag is pushed to the repo, e.g.: git tag -a v0.3.1
git push origin v0.3.1 There's some docs on how the release flow works for stactools here: https://github.com/stac-utils/stactools/blob/main/RELEASING.md. |
nice ok thank you |
This was done previously |
Right now with gh actions, a new release is pushed to pypi every time a pr is merged into main. We should change this - if we can - so that this only happens when a new release is created.
The text was updated successfully, but these errors were encountered: