stac-validator
stac-validator copied to clipboard
Push to pypi when a new release is created
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.
@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
push:
tags:
- "*"
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