Skip to content

Commit a19b257

Browse files
Update CLI Release Pipeline and update contentstack package.json
1 parent b1b656d commit a19b257

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CLI Release Pipeline
2+
3+
on:
4+
push:
5+
branches: [v1-beta]
6+
7+
jobs:
8+
changes:
9+
runs-on: ubuntu-latest
10+
outputs:
11+
core: ${{ steps.filter.outputs.core }}
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: dorny/paths-filter@v3
15+
id: filter
16+
with:
17+
filters: |
18+
core:
19+
- 'packages/contentstack/package.json'
20+
21+
plugins:
22+
uses: ./.github/workflows/release-v1-beta-platform-plugins.yml
23+
secrets: inherit
24+
25+
core:
26+
needs: [plugins, changes]
27+
if: needs.changes.outputs.core == 'true'
28+
uses: ./.github/workflows/release-v1-beta-core.yml
29+
secrets: inherit

packages/contentstack/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"prepack": "pnpm compile && oclif manifest && oclif readme"
2020
},
2121
"dependencies": {
22+
"@contentstack/apps-cli": "workspace:*",
2223
"@contentstack/cli-audit": "~1.19.3",
2324
"@contentstack/cli-cm-export": "~1.25.0",
2425
"@contentstack/cli-cm-import": "~1.33.0",
@@ -117,6 +118,9 @@
117118
"cm:stacks": {
118119
"description": "Stacks related operations"
119120
},
121+
"app": {
122+
"description": "Perform developer-hub app related activities"
123+
},
120124
"launch": {
121125
"description": "Launch related operations"
122126
},
@@ -144,7 +148,8 @@
144148
"@contentstack/cli-cm-branches",
145149
"@contentstack/cli-audit",
146150
"@contentstack/cli-cm-import-setup",
147-
"@contentstack/cli-launch"
151+
"@contentstack/cli-launch",
152+
"@contentstack/apps-cli"
148153
],
149154
"hooks": {
150155
"prerun": [

0 commit comments

Comments
 (0)