OvertureMaps / OvertureMaps/stac
Add version-bump CI guard for Cargo and pyproject
Open
@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), requirepyproject.toml'sversionto differ from main's. - Same rule for Rust: if any other file under
src/orCargo.tomlchanged, requireCargo.toml's[package].versionto differ. - Fail with a message naming which file to bump.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.