Skip to content

Commit

Permalink
use make publish, increment version, allow for both publish jobs to run
Browse files Browse the repository at this point in the history
  • Loading branch information
rbavery committed May 2, 2024
1 parent e0e2645 commit 36369d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,4 +29,4 @@ jobs:
run: make poetry-install
- name: Build and publish
run: |
poetry publish --build
make publish
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand Down

0 comments on commit 36369d6

Please sign in to comment.