Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release CLI Core (Production)
name: Release CLI Core v1-Legacy

on:
workflow_call:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack/package.json
tag: v1
tag: v1-x

- name: Create Core Production Release
id: create_release
Expand All @@ -56,6 +56,7 @@ jobs:
echo "Release $TAG already exists — skipping."
else
gh release create "$TAG" \
--title "Core Production $VERSION" \
--generate-notes
--title "Core v1-Legacy $VERSION" \
--generate-notes \
--latest=false
fi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release CLI Platform Plugins
name: Release CLI Platform Plugins v1-Legacy

on:
workflow_call:
Expand Down Expand Up @@ -43,28 +43,28 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-utilities/package.json
tag: v1
tag: v1-x

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

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

# Auth
- name: Publishing auth (Production)
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-auth/package.json
tag: v1
tag: v1-x
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CLI Production Release Pipeline
name: CLI v1-Legacy Release

on:
push:
Expand All @@ -7,10 +7,10 @@ on:

jobs:
plugins:
uses: ./.github/workflows/release-production-platform-plugins.yml
uses: ./.github/workflows/release-v1-legacy-platform-plugins.yml
secrets: inherit

core:
needs: plugins
uses: ./.github/workflows/release-production-core.yml
uses: ./.github/workflows/release-v1-legacy-core.yml
secrets: inherit
Loading