diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..05b288fd08 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: CLI Release Pipeline + +on: + push: + branches: [v1-beta] + +jobs: + changes: + runs-on: ubuntu-latest + outputs: + core: ${{ steps.filter.outputs.core }} + steps: + - uses: actions/checkout@v4 + - uses: dorny/paths-filter@v3 + id: filter + with: + filters: | + core: + - 'packages/contentstack/package.json' + + plugins: + uses: ./.github/workflows/release-v1-beta-platform-plugins.yml + secrets: inherit + + core: + needs: [plugins, changes] + if: needs.changes.outputs.core == 'true' + uses: ./.github/workflows/release-v1-beta-core.yml + secrets: inherit diff --git a/packages/contentstack/package.json b/packages/contentstack/package.json index 8410d73bf0..e232669fc7 100755 --- a/packages/contentstack/package.json +++ b/packages/contentstack/package.json @@ -19,17 +19,19 @@ "prepack": "pnpm compile && oclif manifest && oclif readme" }, "dependencies": { + "@contentstack/apps-cli": "~1.7.0", "@contentstack/cli-audit": "~1.19.3", "@contentstack/cli-cm-export": "~1.25.0", "@contentstack/cli-cm-import": "~1.33.0", "@contentstack/cli-auth": "~1.8.2", "@contentstack/cli-cm-bootstrap": "~1.19.3", "@contentstack/cli-cm-branches": "~1.8.1", + "@contentstack/cli-bulk-operations": "~1.2.0", "@contentstack/cli-cm-bulk-publish": "~1.11.3", "@contentstack/cli-cm-clone": "~1.21.4", "@contentstack/cli-cm-export-to-csv": "~1.12.2", "@contentstack/cli-cm-import-setup": "~1.8.3", - "@contentstack/cli-cm-migrate-rte": "~1.6.4", + "@contentstack/cli-cm-migrate-rte": "~1.7.0", "@contentstack/cli-cm-seed": "~1.15.3", "@contentstack/cli-command": "~1.8.2", "@contentstack/cli-config": "~1.20.3", @@ -117,6 +119,9 @@ "cm:stacks": { "description": "Stacks related operations" }, + "app": { + "description": "Perform developer-hub app related activities" + }, "launch": { "description": "Launch related operations" }, @@ -140,11 +145,13 @@ "@contentstack/cli-cm-clone", "@contentstack/cli-cm-migrate-rte", "@contentstack/cli-migration", + "@contentstack/cli-bulk-operations", "@contentstack/cli-cm-bulk-publish", "@contentstack/cli-cm-branches", "@contentstack/cli-audit", "@contentstack/cli-cm-import-setup", - "@contentstack/cli-launch" + "@contentstack/cli-launch", + "@contentstack/apps-cli" ], "hooks": { "prerun": [