OvertureMaps / OvertureMaps/stac

Add version-bump CI guard for Cargo and pyproject

Open
#145 4 comments 0 reactions 1 assignee View on GitHub

@jjcfrancisco is already working on this.

Since Sep 17, 2026.

Dominant language
Rust
Stars
39
Forks
3
Avg merge
4d 18m
Merged PRs (30d)
7

Description

Type

Task

Scope

Multi-theme or Platform

Skillset

engineering

Description

Context

Once #144 lands, the Python wheel and the Rust crate have independent version numbers. Nothing catches a missing bump today until publish time — a PR can merge, then fail to release.

Proposed change

Add a version-bump-guard job to .github/workflows/ci.yaml:

  • Diff the PR against main. If any Python-facing file changed (src/python.rs, python/**, pyproject.toml), require pyproject.toml's version to differ from main's.
  • Same rule for Rust: if any other file under src/ or Cargo.toml changed, require Cargo.toml's [package].version to differ.
  • Fail with a message naming which file to bump.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.