From 44f383ccfcf3c51557b2a680c89e7f25be688ff6 Mon Sep 17 00:00:00 2001 From: Rajender Joshi <2614954+crup@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:31:06 +0530 Subject: [PATCH] ci(release): stabilize workflow headings --- .github/workflows/release.yml | 10 +++++----- docs-site/docs/project/release-channels.mdx | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cb6568..02e215a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ name: Release -run-name: Release ${{ inputs.version_bump }} to npm latest +run-name: Stable release to npm latest on: workflow_dispatch: @@ -25,7 +25,7 @@ on: stable_version: description: Manual stable version, used only when version_bump is manual. required: false - default: '' + default: 0.0.1 permissions: contents: write @@ -133,7 +133,7 @@ NODE } >> "$GITHUB_STEP_SUMMARY" verify: - name: 2. Verify Release ${{ needs.guard.outputs.stable_version }} + name: 2. Verify release needs: guard runs-on: ubuntu-latest steps: @@ -204,7 +204,7 @@ NODE } >> "$GITHUB_STEP_SUMMARY" publish: - name: 3. Publish Release ${{ needs.guard.outputs.stable_version }} to npm latest + name: 3. Publish npm latest needs: [guard, verify] runs-on: ubuntu-latest outputs: @@ -257,7 +257,7 @@ NODE NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} github-release: - name: 4. Create GitHub Release ${{ needs.guard.outputs.stable_version }} + name: 4. Create GitHub release needs: [guard, publish] runs-on: ubuntu-latest steps: diff --git a/docs-site/docs/project/release-channels.mdx b/docs-site/docs/project/release-channels.mdx index 631aa0d..86645ee 100644 --- a/docs-site/docs/project/release-channels.mdx +++ b/docs-site/docs/project/release-channels.mdx @@ -57,5 +57,7 @@ For the first stable release, use: ```txt confirm_stable_release=publish-stable version_bump=patch -stable_version= +stable_version=0.0.1 ``` + +The `stable_version` field can keep its default value when `version_bump` is `patch`, `minor`, or `major`; it is ignored unless the strategy is `manual`.