diff --git a/.github/workflows/python-docs.yml b/.github/workflows/python-docs.yml index 0e2d356b..db369fb7 100644 --- a/.github/workflows/python-docs.yml +++ b/.github/workflows/python-docs.yml @@ -61,8 +61,13 @@ jobs: # Then remove `py-` from the tag VERSION=$(git describe --tags --match="py-*" --abbrev=0 | cut -c 4-) - # Only push docs if no letters in git tag after the first character + # Only publish docs as latest version if no letters in git tag + # after the first character # (usually the git tag will have v as the first character) - if echo $VERSION | cut -c 1- | grep -q "[A-Za-z]"; then + # Note the `cut` index is 1-ordered + if echo $VERSION | cut -c 2- | grep -q "[A-Za-z]"; then uv run mike deploy $VERSION latest --update-aliases --push --deploy-prefix python/ + else + # For beta versions publish but don't set as latest + uv run mike deploy $VERSION --update-aliases --push --deploy-prefix python/ fi diff --git a/python/Cargo.lock b/python/Cargo.lock index 54b30683..dd064390 100644 --- a/python/Cargo.lock +++ b/python/Cargo.lock @@ -1090,7 +1090,7 @@ dependencies = [ [[package]] name = "geoarrow-rust-compute" -version = "0.3.0" +version = "0.4.0-beta.1" dependencies = [ "arrow", "arrow-array", @@ -1109,7 +1109,7 @@ dependencies = [ [[package]] name = "geoarrow-rust-core" -version = "0.3.0" +version = "0.4.0-beta.1" dependencies = [ "arrow", "arrow-array", @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "geoarrow-rust-io" -version = "0.3.0" +version = "0.4.0-beta.1" dependencies = [ "arrow", "bytes", diff --git a/python/Cargo.toml b/python/Cargo.toml index 86271fb3..2360f462 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] authors = ["Kyle Barron "] -version = "0.3.0" +version = "0.4.0-beta.1" edition = "2021" homepage = "https://geoarrow.org/geoarrow-rs/" repository = "https://github.com/geoarrow/geoarrow-rs"