From 0a153d1bb67465536030771416b95cd15e093f18 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Thu, 13 Aug 2026 13:06:45 +0530 Subject: [PATCH] chore: add v1-legacy release workflows Renamed release workflow files and updated triggers/tags for v1-legacy branch support. Branch trigger changed to v1-legacy, npm dist-tag set to v1-x, and GitHub releases marked as --latest=false. Co-Authored-By: Claude Sonnet 4.6 --- ...-production-core.yml => release-v1-legacy-core.yml} | 9 +++++---- ...gins.yml => release-v1-legacy-platform-plugins.yml} | 10 +++++----- ...e-production-pipeline.yml => release-v1-legacy.yml} | 6 +++--- 3 files changed, 13 insertions(+), 12 deletions(-) rename .github/workflows/{release-production-core.yml => release-v1-legacy-core.yml} (90%) rename .github/workflows/{release-production-platform-plugins.yml => release-v1-legacy-platform-plugins.yml} (93%) rename .github/workflows/{release-production-pipeline.yml => release-v1-legacy.yml} (52%) diff --git a/.github/workflows/release-production-core.yml b/.github/workflows/release-v1-legacy-core.yml similarity index 90% rename from .github/workflows/release-production-core.yml rename to .github/workflows/release-v1-legacy-core.yml index 0c577245ab..cf3806f8d3 100644 --- a/.github/workflows/release-production-core.yml +++ b/.github/workflows/release-v1-legacy-core.yml @@ -1,4 +1,4 @@ -name: Release CLI Core (Production) +name: Release CLI Core v1-Legacy on: workflow_call: @@ -43,7 +43,7 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack/package.json - tag: v1 + tag: v1-x - name: Create Core Production Release id: create_release @@ -56,6 +56,7 @@ jobs: echo "Release $TAG already exists — skipping." else gh release create "$TAG" \ - --title "Core Production $VERSION" \ - --generate-notes + --title "Core v1-Legacy $VERSION" \ + --generate-notes \ + --latest=false fi diff --git a/.github/workflows/release-production-platform-plugins.yml b/.github/workflows/release-v1-legacy-platform-plugins.yml similarity index 93% rename from .github/workflows/release-production-platform-plugins.yml rename to .github/workflows/release-v1-legacy-platform-plugins.yml index 84be85d3cd..7eae916e61 100644 --- a/.github/workflows/release-production-platform-plugins.yml +++ b/.github/workflows/release-v1-legacy-platform-plugins.yml @@ -1,4 +1,4 @@ -name: Release CLI Platform Plugins +name: Release CLI Platform Plugins v1-Legacy on: workflow_call: @@ -43,7 +43,7 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack-utilities/package.json - tag: v1 + tag: v1-x # Command - name: Publishing command (Production) @@ -51,7 +51,7 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack-command/package.json - tag: v1 + tag: v1-x # Config - name: Publishing config (Production) @@ -59,7 +59,7 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack-config/package.json - tag: v1 + tag: v1-x # Auth - name: Publishing auth (Production) @@ -67,4 +67,4 @@ jobs: with: token: ${{ secrets.NPM_TOKEN }} package: ./packages/contentstack-auth/package.json - tag: v1 + tag: v1-x diff --git a/.github/workflows/release-production-pipeline.yml b/.github/workflows/release-v1-legacy.yml similarity index 52% rename from .github/workflows/release-production-pipeline.yml rename to .github/workflows/release-v1-legacy.yml index 02b66be3d7..d0b4d02e2a 100644 --- a/.github/workflows/release-production-pipeline.yml +++ b/.github/workflows/release-v1-legacy.yml @@ -1,4 +1,4 @@ -name: CLI Production Release Pipeline +name: CLI v1-Legacy Release on: push: @@ -7,10 +7,10 @@ on: jobs: plugins: - uses: ./.github/workflows/release-production-platform-plugins.yml + uses: ./.github/workflows/release-v1-legacy-platform-plugins.yml secrets: inherit core: needs: plugins - uses: ./.github/workflows/release-production-core.yml + uses: ./.github/workflows/release-v1-legacy-core.yml secrets: inherit