The release workflow is to make a release in the Github UI and tag it accordingly with stac-model-v or v in order to publish either the stac-model package or the JSON schema, respectively.
Description
Adds a job publish-pypi to publish.yaml to publish the stac-model package to PYPI if the tag starts with stac-model-v
adds a condition to deploy-schema (renamed from deploy) to run if tag starts with v
updates stac-model version to match what's on PYPI: version 0.1.2
this addresses https://github.com/crim-ca/mlm-extension/issues/13 and I can test and make a release with this workflow once the PR is merged.
The release workflow is to make a release in the Github UI and tag it accordingly with
stac-model-v
orv
in order to publish either the stac-model package or the JSON schema, respectively.Description
publish-pypi
to publish.yaml to publish the stac-model package to PYPI if the tag starts withstac-model-v
deploy-schema
(renamed fromdeploy
) to run if tag starts withv
Related Issue
Type of Change
Checklist
CONTRIBUTING.md
guide;make codestyle
;Google
format for all the methods and classes that I used.Note: duplicate of https://github.com/crim-ca/mlm-extension/pull/14, re-opened as an origin branch to check merging rules since https://github.com/crim-ca/mlm-extension/pull/14 did not allow me to merge with an approving review.