Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 11 additions & 12 deletions .github/workflows/release-v1-beta-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: Release CLI Core (v1 Beta)

on:
workflow_dispatch:
push:
workflow_run:
workflows: ['Release CLI Platform Plugins (v1 Beta)']
types:
- completed
branches: [v1-beta]
paths:
- 'packages/contentstack/package.json'

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
Expand All @@ -28,22 +30,19 @@ jobs:
- name: Clean the repository
run: pnpm run clean:all

- name: Install root dependencies
run: pnpm install --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

# Core CLI
- name: Install all dependencies
id: core-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_core == 'true'}}
run: pnpm install --frozen-lockfile

- name: Build all packages
run: pnpm -r --concurrency 1 run build

- name: Publishing core (Beta)
id: publish-core
uses: JS-DevTools/npm-publish@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# run: mv packages/contentstack/package.json packages/contentstack/package.json.disabled || true

- name: Install Dependencies (Excluding Contentstack)
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Build all plugins (Excluding Contentstack)
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli",
"description": "Command-line tool (CLI) to interact with Contentstack v1-beta",
"version": "1.60.0-beta.5",
"version": "1.60.0-beta.6",
"author": "Contentstack",
"bin": {
"csdx": "./bin/run.js"
Expand Down
Loading