Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a7a6b49
enabled the beta release
shafeeqd959 Mar 2, 2026
0a41a86
updated clean script
shafeeqd959 Mar 3, 2026
4f34260
updated clean packages
shafeeqd959 Mar 3, 2026
fbd7687
added oclif manifest in the build script
shafeeqd959 Mar 3, 2026
592f465
added update lock file script
shafeeqd959 Mar 3, 2026
60d07ef
Fixed seed command for existing stack
sunil-lakshman Mar 4, 2026
5309da2
updated importer file
sunil-lakshman Mar 4, 2026
46073b2
bumped dev dependency
shafeeqd959 Mar 5, 2026
464beed
updated scripts and release yml
shafeeqd959 Mar 5, 2026
3339b41
Merge pull request #6 from contentstack/v1-dev
shafeeqd959 Mar 5, 2026
d03658d
updated scripts and release yml
shafeeqd959 Mar 5, 2026
0229932
Merge branch 'v1-dev' into v1-beta
shafeeqd959 Mar 5, 2026
601dec9
updated release yml
shafeeqd959 Mar 5, 2026
a50257d
Fixed merge conflits
sunil-lakshman Mar 6, 2026
82266e0
Merge pull request #10 from contentstack/fix/enh-4442
sunil-lakshman Mar 9, 2026
2baaded
feat: add support for assets in custom roles
Mar 10, 2026
4f4d009
chore: revert version bump
Mar 10, 2026
3397f4a
Fixed version bump
sunil-lakshman Mar 10, 2026
dea6855
Added beta version bump
sunil-lakshman Mar 10, 2026
74bd0fc
Merge pull request #24 from contentstack/fix/beta-version-bump
sunil-lakshman Mar 10, 2026
53745cc
Merge pull request #23 from contentstack/v1-beta
cs-raj Mar 11, 2026
bec384e
Merge branch 'v1-dev' into feat/DX-4942
Mar 11, 2026
7552f25
chore: version bumps
Mar 11, 2026
3e38d66
chore: updated versions in readme
Mar 11, 2026
3d4243a
Merge pull request #22 from contentstack/feat/DX-4942
naman-contentstack Mar 11, 2026
e3c8a07
chore: version bumps
Mar 16, 2026
295969c
Merge pull request #34 from contentstack/chore/version_bumps_v1
naman-contentstack Mar 16, 2026
c2e22b9
chore: update workflows and update lock file
Mar 18, 2026
c0939dd
Merge pull request #37 from contentstack/update/workflows
naman-contentstack Mar 18, 2026
7324ccf
Merge pull request #33 from contentstack/v1-dev
naman-contentstack Mar 18, 2026
80b49e5
v1 beta to prod
shafeeqd959 Mar 25, 2026
b9d91a2
Merge branch 'main' of github.com:contentstack/cli-plugins into v1-be…
shafeeqd959 Mar 25, 2026
d7c1623
reverted utilities bump
shafeeqd959 Mar 26, 2026
0ce0890
bumped versions of picomatch
shafeeqd959 Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions .github/workflows/release-production-plugins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
name: Release CLI Plugins (Production)

on:
push:
branches: [main]
workflow_dispatch: # manually trigger the workflow

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

# Variants
- name: Publishing variants (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-variants/package.json
tag: latest

# Export
- name: Publishing export (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-export/package.json
tag: latest

# Audit
- name: Publishing audit (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-audit/package.json
tag: latest

# Import
- name: Publishing import (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-import/package.json
tag: latest

# Clone
- name: Publishing clone (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-clone/package.json
tag: latest

# Import Setup
- name: Publishing import-setup (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-import-setup/package.json
tag: latest

# Export to CSV
- name: Publishing export to csv (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-export-to-csv/package.json
tag: latest

# Migration
- name: Publishing migration (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-migration/package.json
tag: latest

# Seed
- name: Publishing seed (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-seed/package.json
tag: latest

# Bootstrap
- name: Publishing bootstrap (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-bootstrap/package.json
tag: latest

# Bulk Publish
- name: Publishing bulk publish (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-bulk-publish/package.json
tag: latest

# Branches
- name: Publishing branches (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-branches/package.json
tag: latest

- name: Create Production Release
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.PKG_TOKEN }}
VERSION: ${{ steps.publish-plugins.outputs.version }}
run: |
# Get the previous production release for comparison
PREVIOUS_PROD=$(gh release list --limit 10 | grep -v 'prerelease' | head -1 | cut -f1)

if [ -n "$PREVIOUS_PROD" ]; then
gh release create "v${VERSION}" --title "Production Release $VERSION" --notes-from-tag "$PREVIOUS_PROD"
else
gh release create "v${VERSION}" --title "Production Release $VERSION" --generate-notes
fi
Loading
Loading