From 91f0054c292283cff1a5e7df09970655c6893fcd Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Fri, 15 Aug 2025 19:03:48 -0500 Subject: [PATCH] feat: implement dual NPM publishing strategy - Configure semantic-release for @beta and @latest tags - Main branch publishes to @beta (bleeding edge) - Stable branch publishes to @latest (production) - Enable CI/CD workflow for both branches --- .github/workflows/release.yaml | 1 + .releaserc.json | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 03250a76..9aa6009f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,7 @@ name: Release push: branches: - main + - stable workflow_dispatch: inputs: version_type: diff --git a/.releaserc.json b/.releaserc.json index cab3b924..3336d87e 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,5 +1,13 @@ { - "branches": ["main"], + "branches": [ + { + "name": "main", + "prerelease": "beta" + }, + { + "name": "stable" + } + ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",