crim-ca/mlm-extension

Invalid `stac-model` version on PyPI

Closed this issue ยท 0 comments

๐Ÿ› Bug Report

The https://pypi.org/project/stac-model/0.1.2/ version is released.
However, the code still refers to the previous prerelease:

[tool.poetry]
name = "stac-model"
version = "0.1.1.alpha4"

๐Ÿ“ˆ Expected behavior

Released versions should match the code.

There should also be a git tag specifically to stac-model-vX.Y.Z, since other vX.Y.Z tags are reserved for the specification.

๐Ÿ“Ž Additional context

A conditional stage in https://github.com/crim-ca/mlm-extension/blob/main/.github/workflows/stac-model.yml should probably be added to automate the poetry publish --build operation when some stac-model-vX.Y.Z tag is applied (or a corresponding release is generated).

The release of a stac-model version should not conflict with the release steps for the specification.
Maybe a vX.Y.Z (spec) condition would have to be added to https://github.com/crim-ca/mlm-extension/blob/main/.github/workflows/publish.yaml