Skip to content

ci: add manual version update workflow - #32

Merged
egorsmkv merged 1 commit into
masterfrom
ci/update-version
Oct 7, 2026
Merged

egorsmkv merged 1 commit into
masterfrom
ci/update-version

Conversation

@egorsmkv

@egorsmkv egorsmkv commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Add .github/workflows/update-version.yml following RustedBytes/rsloop's Update Version workflow.

A manual workflow_dispatch accepts MAJOR.MINOR.PATCH without a v prefix, synchronizes Cargo.toml, Cargo.lock and pyproject.toml, validates locked Cargo metadata and whitespace, rejects a no-op, then commits and pushes release: v to the selected branch. Inputs are passed via environment variables. No tags or package publication are performed.

Validation: exercised the embedded updater in a temporary checkout (0.3.0 → 0.3.1), checked all three versions and cargo metadata --locked --offline --no-deps, and rejected five invalid version formats. YAML parses and git diff --check passes. The workflow was not dispatched because no target release version was requested.

@egorsmkv
egorsmkv merged commit f031f88 into master Oct 7, 2026
6 checks passed
@egorsmkv
egorsmkv deleted the ci/update-version branch October 7, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant