From 35b9184ebe0a628118a065b7a805ccdc90fc0bbd Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 12 Aug 2026 17:17:24 +0530 Subject: [PATCH 1/2] chore: remove beta release workflows from development Beta workflows belong on the v2-beta branch only. Now that v2 is GA, these files have no place on development/main. Removed: - release.yml (beta pipeline orchestrator, triggered on v2-beta) - release-v2-beta-core.yml - release-v2-beta-platform-plugins.yml Closes DX-10156 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release-v2-beta-core.yml | 62 ---------------- .../release-v2-beta-platform-plugins.yml | 70 ------------------- .github/workflows/release.yml | 15 ---- 3 files changed, 147 deletions(-) delete mode 100644 .github/workflows/release-v2-beta-core.yml delete mode 100644 .github/workflows/release-v2-beta-platform-plugins.yml delete mode 100755 .github/workflows/release.yml diff --git a/.github/workflows/release-v2-beta-core.yml b/.github/workflows/release-v2-beta-core.yml deleted file mode 100644 index a6e0739603..0000000000 --- a/.github/workflows/release-v2-beta-core.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: Release CLI Core (v2 Beta) - -on: - workflow_call: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - with: - version: 10.28.0 - - uses: actions/setup-node@v4 - with: - node-version: '22.x' - - - name: Enable Corepack - run: corepack enable - - - name: Install pnpm - run: corepack prepare pnpm@10.28.0 --activate - - - name: Clean the repository - run: pnpm run clean:all - - - name: Install root dependencies - run: pnpm install --no-frozen-lockfile - - - name: Build all packages - run: pnpm -r --sort run build - - - name: Reading Configuration - id: release_config - uses: rgarcia-phi/json-to-variables@v1.1.0 - with: - filename: .github/config/release.json - prefix: release - - - name: Publishing core (Beta) - id: publish-core - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack/package.json - tag: beta - - - name: Create Core Beta Release - id: create_release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ steps.publish-core.outputs.version }} - run: | - TAG="core@v${VERSION}" - if gh release view "$TAG" &>/dev/null; then - echo "Release $TAG already exists — skipping." - else - gh release create "$TAG" \ - --title "Core Beta $VERSION" \ - --generate-notes \ - --prerelease - fi diff --git a/.github/workflows/release-v2-beta-platform-plugins.yml b/.github/workflows/release-v2-beta-platform-plugins.yml deleted file mode 100644 index 38b42b535b..0000000000 --- a/.github/workflows/release-v2-beta-platform-plugins.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Release CLI Platform Plugins (v2 Beta) - -on: - workflow_call: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - with: - version: 10.28.0 - - uses: actions/setup-node@v4 - with: - node-version: '22.x' - - - name: Enable Corepack - run: corepack enable - - - name: Install pnpm - run: corepack prepare pnpm@10.28.0 --activate - - - name: Clean the repository - run: pnpm run clean:all - - - name: Install root dependencies - run: pnpm install --no-frozen-lockfile - - - name: Build all plugins - run: pnpm -r --sort run build - - - name: Reading Configuration - id: release_config - uses: rgarcia-phi/json-to-variables@v1.1.0 - with: - filename: .github/config/release.json - prefix: release - - # Utilities - - name: Publishing utilities (Beta) - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-utilities/package.json - tag: beta - - # Command - - name: Publishing command (Beta) - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-command/package.json - tag: beta - - # Config - - name: Publishing config (Beta) - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-config/package.json - tag: beta - - # Auth - - name: Publishing auth (Beta) - uses: JS-DevTools/npm-publish@v3 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./packages/contentstack-auth/package.json - tag: beta diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100755 index 91a18956d8..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: CLI Release Pipeline - -on: - push: - branches: [v2-beta] - -jobs: - plugins: - uses: ./.github/workflows/release-v2-beta-platform-plugins.yml - secrets: inherit - - core: - needs: plugins - uses: ./.github/workflows/release-v2-beta-core.yml - secrets: inherit From b763b55f42147d403e174cea2dbaa732f21ec016 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 12 Aug 2026 17:25:00 +0530 Subject: [PATCH 2/2] fix: remove beta references from README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update migration guide reference: 2.x.x-beta → 2.x Co-Authored-By: Claude Sonnet 4.6 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b98bd98abc..208e05faf8 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ To verify the installation, run `csdx` in the command window. ## Migration Guide -If you're upgrading from CLI 1.x to 2.x.x-beta, please refer to our comprehensive [Migration Guide](./MIGRATION.md) for: +If you're upgrading from CLI 1.x to 2.x, please refer to our comprehensive [Migration Guide](./MIGRATION.md) for: - **Breaking changes** and new default behaviors - **Step-by-step migration instructions**