Skip to content

chore: version management for release tags#39

Merged
dave6892 merged 4 commits into
mainfrom
feat/versioning
Mar 28, 2026
Merged

chore: version management for release tags#39
dave6892 merged 4 commits into
mainfrom
feat/versioning

Conversation

@dave6892

@dave6892 dave6892 commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds [workspace.package] to root Cargo.toml so all 6 crate Cargo.toml files inherit version, edition, and license — single source of truth for Rust versioning
  • Adds a release Makefile target that bumps all version files (Cargo.toml, apps/desktop/package.json, apps/desktop/src-tauri/tauri.conf.json), commits, tags, and pushes — triggering the existing release.yml workflow

Usage

RELEASE_VERSION=v0.2.0 make release

Test plan

  • cargo check passes after workspace inheritance changes
  • make help shows the release target
  • make release (without RELEASE_VERSION) prints a clear error and exits non-zero
  • Dry-run: verify sed/jq edits produce correct version strings before a real tag push

🤖 Generated with Claude Code

dave6892 and others added 4 commits March 28, 2026 11:20
All 6 crate Cargo.tomls now inherit version, edition, and license from
[workspace.package] in the root Cargo.toml — single source of truth.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
RELEASE_VERSION=vX.Y.Z make release updates Cargo.toml workspace version,
apps/desktop/package.json, and tauri.conf.json, then commits, tags, and
pushes — triggering the existing release workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Extracts file edits into a standalone bump-version target so CI can
update version files from the pushed tag before building. release target
now delegates to bump-version then handles the git operations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Inline VAR=value syntax is not valid PowerShell. Using the env: block
lets the runner set the variable before invoking make, which works on
all platforms.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dave6892

Copy link
Copy Markdown
Contributor Author

I think the current release workflow failed because of the trailing -dev that the windows builder does not like.

@dave6892 dave6892 self-assigned this Mar 28, 2026
@dave6892 dave6892 added the enhancement New feature or request label Mar 28, 2026
@dave6892 dave6892 merged commit 561faf9 into main Mar 28, 2026
5 of 6 checks passed
@dave6892 dave6892 deleted the feat/versioning branch March 28, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant