Skip to content

ci: tag and GitHub-release each crate independently#52

Open
takaebato wants to merge 1 commit into
masterfrom
ci/per-crate-tags
Open

ci: tag and GitHub-release each crate independently#52
takaebato wants to merge 1 commit into
masterfrom
ci/per-crate-tags

Conversation

@takaebato

Copy link
Copy Markdown
Owner

Switch from the "flagship" tagging scheme (the sql-insight library owns a single plain vX.Y.Z tag + GitHub Release; the CLI gets neither) to per-crate tags and releases — release-plz's default for a multi-package workspace.

  • Enable git_tag_enable / git_release_enable at the [workspace] level and drop the sql-insight [[package]] override.
  • Each crate now gets a <crate>-vX.Y.Z tag (e.g. sql-insight-v0.4.0, sql-insight-cli-v0.3.0) and its own GitHub Release.
  • Tags from before this switch keep the old plain vX.Y.Z scheme (the library's history) and are left as-is. release-plz baselines on the published crate (crates.io), not the git tag, so version bumps and changelogs are unaffected.

No workflow triggers on tags and no badge/link references the v* scheme, so nothing else needs updating. Prebuilt-binary attachment to the CLI release is out of scope here.

🤖 Generated with Claude Code

Enable git_tag_enable / git_release_enable at the [workspace] level and drop the
sql-insight [[package]] override, so each crate gets its own
`{{ package }}-v{{ version }}` tag (release-plz's default for a multi-package
workspace) and its own GitHub Release — instead of the library owning a single
plain `vX.Y.Z` tag while the CLI got none. Tags from before this switch keep the
old plain `vX.Y.Z` scheme and are left as-is; release-plz baselines on the
published crate, not the tag, so version bumps and changelogs are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR title follows the Conventional Commits spec.

@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.87%. Comparing base (4c12cc9) to head (f416b39).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   94.87%   94.87%           
=======================================
  Files          27       27           
  Lines        5486     5486           
  Branches     5486     5486           
=======================================
  Hits         5205     5205           
  Misses        203      203           
  Partials       78       78           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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