Skip to content

ci(release): default release-type to auto-derived bump#257

Merged
maksimzinchuk merged 1 commit into
mainfrom
ci/auto-release-version
Jul 20, 2026
Merged

ci(release): default release-type to auto-derived bump#257
maksimzinchuk merged 1 commit into
mainfrom
ci/auto-release-version

Conversation

@maksimzinchuk

Copy link
Copy Markdown
Collaborator

Overview

The publish workflow required manually picking patch/minor/major on every
release. The repo already runs @release-it/conventional-changelog, which can
derive the bump from conventional commits, but the workflow always passed an
explicit increment that overrode it.

Change

  • Add an auto release-type (now the default). With auto, release-it runs
    without an explicit increment and derives the bump from the commits since the
    last tag: BREAKING/! → major, feat → minor, otherwise patch.
  • patch/minor/major remain available as explicit overrides.
  • Document the behavior in RELEASING.md, including the squash-merge caveat:
    breaking changes must be marked with ! in the PR title, since the PR body's
    BREAKING CHANGE: footer is dropped on squash.

You still trigger the release manually — you just no longer pick the bump type.

Verification

  • publish.yml is valid YAML.
  • Bump logic confirmed against the current history (feat present, no breaking
    auto resolves to a minor).

The publish workflow required picking patch/minor/major on every release.
The setup already runs @release-it/conventional-changelog, which can compute
the bump from conventional commits, but the workflow always passed an explicit
increment that overrode it.

Add an 'auto' release-type (now the default): when selected, release-it runs
without an increment and derives the bump from the commits since the last tag
(feat -> minor, fix -> patch, BREAKING/! -> major). patch/minor/major remain
as explicit overrides. Document the behavior and the squash-merge caveat that
breaking changes must be marked with '!' in the PR title.
@github-actions

Copy link
Copy Markdown

📦 Preview published for commit a5b1627

Install the preview with dist-tag:

npm install @vc-shell/framework@pr-257

Or pin to the exact commit:

npm install @vc-shell/framework@2.1.0-pr257.a5b1627

Published packages (dist-tag pr-257, version 2.1.0-pr257.a5b1627):

  • @vc-shell/framework
  • @vc-shell/api-client-generator
  • @vc-shell/create-vc-app
  • @vc-shell/config-generator
  • @vc-shell/migrate
  • @vc-shell/ts-config
  • @vc-shell/mf-config
  • @vc-shell/mf-host
  • @vc-shell/mf-module
  • @vc-shell/vc-app-skill

@maksimzinchuk
maksimzinchuk merged commit 80dc1e6 into main Jul 20, 2026
7 checks passed
@maksimzinchuk
maksimzinchuk deleted the ci/auto-release-version branch July 20, 2026 16:38
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