diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index de3e559..c811b9e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,7 +4,7 @@ on: types: [published] jobs: deploy-schema: - if: startsWith(github.ref, 'refs/tags/v') && !startsWith(github.ref, 'refs/tags/stac-model-v') + if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - name: Inject env variables @@ -29,4 +29,4 @@ jobs: run: make poetry-install - name: Build and publish run: | - poetry publish --build + make publish diff --git a/Makefile b/Makefile index 4710486..3093616 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ poetry-plugins: poetry-env: poetry config virtualenvs.in-project true +.PHONY: publish +publish: + poetry publish --build + #* Installation .PHONY: install install: poetry-env diff --git a/pyproject.toml b/pyproject.toml index 0712c43..10f7ca6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "stac-model" -version = "0.1.2" +version = "0.1.3" description = "A PydanticV2 validation and serialization libary for the STAC ML Model Extension" readme = "README.md" authors = ["Ryan Avery "]