File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Release CLI Core (Production)
1+ name : Release CLI Core v1-Legacy
22
33on :
44 workflow_call :
4343 with :
4444 token : ${{ secrets.NPM_TOKEN }}
4545 package : ./packages/contentstack/package.json
46- tag : v1
46+ tag : v1-x
4747
4848 - name : Create Core Production Release
4949 id : create_release
5656 echo "Release $TAG already exists — skipping."
5757 else
5858 gh release create "$TAG" \
59- --title "Core Production $VERSION" \
60- --generate-notes
59+ --title "Core v1-Legacy $VERSION" \
60+ --generate-notes \
61+ --latest=false
6162 fi
Original file line number Diff line number Diff line change 1- name : Release CLI Platform Plugins
1+ name : Release CLI Platform Plugins v1-Legacy
22
33on :
44 workflow_call :
@@ -43,28 +43,28 @@ jobs:
4343 with :
4444 token : ${{ secrets.NPM_TOKEN }}
4545 package : ./packages/contentstack-utilities/package.json
46- tag : v1
46+ tag : v1-x
4747
4848 # Command
4949 - name : Publishing command (Production)
5050 uses : JS-DevTools/npm-publish@v3
5151 with :
5252 token : ${{ secrets.NPM_TOKEN }}
5353 package : ./packages/contentstack-command/package.json
54- tag : v1
54+ tag : v1-x
5555
5656 # Config
5757 - name : Publishing config (Production)
5858 uses : JS-DevTools/npm-publish@v3
5959 with :
6060 token : ${{ secrets.NPM_TOKEN }}
6161 package : ./packages/contentstack-config/package.json
62- tag : v1
62+ tag : v1-x
6363
6464 # Auth
6565 - name : Publishing auth (Production)
6666 uses : JS-DevTools/npm-publish@v3
6767 with :
6868 token : ${{ secrets.NPM_TOKEN }}
6969 package : ./packages/contentstack-auth/package.json
70- tag : v1
70+ tag : v1-x
Original file line number Diff line number Diff line change 1- name : CLI Production Release Pipeline
1+ name : CLI v1-Legacy Release
22
33on :
44 push :
77
88jobs :
99 plugins :
10- uses : ./.github/workflows/release-production -platform-plugins.yml
10+ uses : ./.github/workflows/release-v1-legacy -platform-plugins.yml
1111 secrets : inherit
1212
1313 core :
1414 needs : plugins
15- uses : ./.github/workflows/release-production -core.yml
15+ uses : ./.github/workflows/release-v1-legacy -core.yml
1616 secrets : inherit
You can’t perform that action at this time.
0 commit comments