Skip to content

Commit 80b49e5

Browse files
committed
v1 beta to prod
1 parent 7324ccf commit 80b49e5

22 files changed

Lines changed: 90 additions & 90 deletions

File tree

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Release CLI Plugins (v1 Beta)
1+
name: Release CLI Plugins (Production)
22

33
on:
44
push:
5-
branches: [v1-beta]
5+
branches: [main]
66

77
jobs:
88
build:
@@ -39,112 +39,112 @@ jobs:
3939
prefix: release
4040

4141
# Variants
42-
- name: Publishing variants (Beta)
42+
- name: Publishing variants (Production)
4343
uses: JS-DevTools/npm-publish@v3
4444
with:
4545
token: ${{ secrets.NPM_TOKEN }}
4646
package: ./packages/contentstack-variants/package.json
47-
tag: beta
47+
tag: latest
4848

4949
# Export
50-
- name: Publishing export (Beta)
50+
- name: Publishing export (Production)
5151
uses: JS-DevTools/npm-publish@v3
5252
with:
5353
token: ${{ secrets.NPM_TOKEN }}
5454
package: ./packages/contentstack-export/package.json
55-
tag: beta
55+
tag: latest
5656

5757
# Audit
58-
- name: Publishing audit (Beta)
58+
- name: Publishing audit (Production)
5959
uses: JS-DevTools/npm-publish@v3
6060
with:
6161
token: ${{ secrets.NPM_TOKEN }}
6262
package: ./packages/contentstack-audit/package.json
63-
tag: beta
63+
tag: latest
6464

6565
# Import
66-
- name: Publishing import (Beta)
66+
- name: Publishing import (Production)
6767
uses: JS-DevTools/npm-publish@v3
6868
with:
6969
token: ${{ secrets.NPM_TOKEN }}
7070
package: ./packages/contentstack-import/package.json
71-
tag: beta
71+
tag: latest
7272

7373
# Clone
74-
- name: Publishing clone (Beta)
74+
- name: Publishing clone (Production)
7575
uses: JS-DevTools/npm-publish@v3
7676
with:
7777
token: ${{ secrets.NPM_TOKEN }}
7878
package: ./packages/contentstack-clone/package.json
79-
tag: beta
79+
tag: latest
8080

8181
# Import Setup
82-
- name: Publishing import-setup (Beta)
82+
- name: Publishing import-setup (Production)
8383
uses: JS-DevTools/npm-publish@v3
8484
with:
8585
token: ${{ secrets.NPM_TOKEN }}
8686
package: ./packages/contentstack-import-setup/package.json
87-
tag: beta
87+
tag: latest
8888

8989
# Export to CSV
90-
- name: Publishing export to csv (Beta)
90+
- name: Publishing export to csv (Production)
9191
uses: JS-DevTools/npm-publish@v3
9292
with:
9393
token: ${{ secrets.NPM_TOKEN }}
9494
package: ./packages/contentstack-export-to-csv/package.json
95-
tag: beta
95+
tag: latest
9696

9797
# Migration
98-
- name: Publishing migration (Beta)
98+
- name: Publishing migration (Production)
9999
uses: JS-DevTools/npm-publish@v3
100100
with:
101101
token: ${{ secrets.NPM_TOKEN }}
102102
package: ./packages/contentstack-migration/package.json
103-
tag: beta
103+
tag: latest
104104

105105
# Seed
106-
- name: Publishing seed (Beta)
106+
- name: Publishing seed (Production)
107107
uses: JS-DevTools/npm-publish@v3
108108
with:
109109
token: ${{ secrets.NPM_TOKEN }}
110110
package: ./packages/contentstack-seed/package.json
111-
tag: beta
111+
tag: latest
112112

113113
# Bootstrap
114-
- name: Publishing bootstrap (Beta)
114+
- name: Publishing bootstrap (Production)
115115
uses: JS-DevTools/npm-publish@v3
116116
with:
117117
token: ${{ secrets.NPM_TOKEN }}
118118
package: ./packages/contentstack-bootstrap/package.json
119-
tag: beta
119+
tag: latest
120120

121121
# Bulk Publish
122-
- name: Publishing bulk publish (Beta)
122+
- name: Publishing bulk publish (Production)
123123
uses: JS-DevTools/npm-publish@v3
124124
with:
125125
token: ${{ secrets.NPM_TOKEN }}
126126
package: ./packages/contentstack-bulk-publish/package.json
127-
tag: beta
127+
tag: latest
128128

129129
# Branches
130-
- name: Publishing branches (Beta)
130+
- name: Publishing branches (Production)
131131
uses: JS-DevTools/npm-publish@v3
132132
with:
133133
token: ${{ secrets.NPM_TOKEN }}
134134
package: ./packages/contentstack-branches/package.json
135-
tag: beta
135+
tag: latest
136136

137-
- name: Create Beta Release
137+
- name: Create Production Release
138138
id: create_release
139139
env:
140140
GITHUB_TOKEN: ${{ secrets.PKG_TOKEN }}
141-
VERSION: ${{ steps.publish-core.outputs.version }}
141+
VERSION: ${{ steps.publish-plugins.outputs.version }}
142142
run: |
143-
# Get the previous beta release for comparison
144-
PREVIOUS_BETA=$(gh release list --limit 10 | grep 'beta' | head -1 | cut -f1)
143+
# Get the previous production release for comparison
144+
PREVIOUS_PROD=$(gh release list --limit 10 | grep -v 'prerelease' | head -1 | cut -f1)
145145
146-
if [ -n "$PREVIOUS_BETA" ]; then
147-
gh release create v"$VERSION" --title "Beta Release $VERSION" --notes-from-tag "$PREVIOUS_BETA" --prerelease
146+
if [ -n "$PREVIOUS_PROD" ]; then
147+
gh release create "v${VERSION}" --title "Production Release $VERSION" --notes-from-tag "$PREVIOUS_PROD"
148148
else
149-
gh release create v"$VERSION" --title "Beta Release $VERSION" --generate-notes --prerelease
149+
gh release create "v${VERSION}" --title "Production Release $VERSION" --generate-notes
150150
fi

packages/contentstack-audit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-audit
1919
$ csdx COMMAND
2020
running command...
2121
$ csdx (--version|-v)
22-
@contentstack/cli-audit/1.19.0-beta.0 darwin-arm64 node-v22.14.0
22+
@contentstack/cli-audit/1.19.0-beta.1 darwin-arm64 node-v22.13.1
2323
$ csdx --help [COMMAND]
2424
USAGE
2525
$ csdx COMMAND

packages/contentstack-audit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/cli-audit",
3-
"version": "1.19.0-beta.1",
3+
"version": "1.19.0",
44
"description": "Contentstack audit plugin",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli",
@@ -18,8 +18,8 @@
1818
"/oclif.manifest.json"
1919
],
2020
"dependencies": {
21-
"@contentstack/cli-command": "~1.8.0-beta.1",
22-
"@contentstack/cli-utilities": "~1.19.0-beta.0",
21+
"@contentstack/cli-command": "~1.8.0",
22+
"@contentstack/cli-utilities": "~1.19.0",
2323
"@oclif/core": "^4.3.0",
2424
"@oclif/plugin-help": "^6.2.28",
2525
"@oclif/plugin-plugins": "^5.4.54",

packages/contentstack-bootstrap/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
1515
$ csdx COMMAND
1616
running command...
1717
$ csdx (--version)
18-
@contentstack/cli-cm-bootstrap/1.19.0-beta.1 darwin-arm64 node-v22.14.0
18+
@contentstack/cli-cm-bootstrap/1.19.0-beta.1 darwin-arm64 node-v22.13.1
1919
$ csdx --help [COMMAND]
2020
USAGE
2121
$ csdx COMMAND

packages/contentstack-bootstrap/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-bootstrap",
33
"description": "Bootstrap contentstack apps",
4-
"version": "1.19.0-beta.1",
4+
"version": "1.19.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
@@ -16,10 +16,10 @@
1616
"test:report": "nyc --reporter=lcov mocha \"test/**/*.test.js\""
1717
},
1818
"dependencies": {
19-
"@contentstack/cli-cm-seed": "~1.15.0-beta.1",
20-
"@contentstack/cli-command": "~1.8.0-beta.1",
21-
"@contentstack/cli-config": "~1.20.0-beta.1",
22-
"@contentstack/cli-utilities": "~1.19.0-beta.0",
19+
"@contentstack/cli-cm-seed": "~1.15.0",
20+
"@contentstack/cli-command": "~1.8.0",
21+
"@contentstack/cli-config": "~1.20.0",
22+
"@contentstack/cli-utilities": "~1.19.0",
2323
"@oclif/core": "^4.3.0",
2424
"@oclif/plugin-help": "^6.2.37",
2525
"inquirer": "8.2.7",

packages/contentstack-branches/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches
3737
$ csdx COMMAND
3838
running command...
3939
$ csdx (--version)
40-
@contentstack/cli-cm-branches/1.7.0-beta.0 darwin-arm64 node-v22.14.0
40+
@contentstack/cli-cm-branches/1.7.0-beta.1 darwin-arm64 node-v22.13.1
4141
$ csdx --help [COMMAND]
4242
USAGE
4343
$ csdx COMMAND

packages/contentstack-branches/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "@contentstack/cli-cm-branches",
33
"description": "Contentstack CLI plugin to do branches operations",
4-
"version": "1.7.0-beta.1",
4+
"version": "1.7.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {
8-
"@contentstack/cli-command": "~1.8.0-beta.1",
8+
"@contentstack/cli-command": "~1.8.0",
99
"@oclif/core": "^4.3.0",
1010
"@oclif/plugin-help": "^6.2.28",
11-
"@contentstack/cli-utilities": "~1.19.0-beta.0",
11+
"@contentstack/cli-utilities": "~1.19.0",
1212
"chalk": "^4.1.2",
1313
"just-diff": "^6.0.2",
1414
"lodash": "^4.17.23"
1515
},
1616
"devDependencies": {
17-
"@contentstack/cli-dev-dependencies": "~1.3.0",
17+
"@contentstack/cli-dev-dependencies": "~1.4.0",
1818
"@oclif/plugin-help": "^6.2.28",
1919
"@types/flat": "^5.0.5",
2020
"chai": "^4.5.0",

packages/contentstack-bulk-publish/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-cm-bulk-publish
1818
$ csdx COMMAND
1919
running command...
2020
$ csdx (--version)
21-
@contentstack/cli-cm-bulk-publish/1.11.0-beta.0 darwin-arm64 node-v22.14.0
21+
@contentstack/cli-cm-bulk-publish/1.11.0-beta.1 darwin-arm64 node-v22.13.1
2222
$ csdx --help [COMMAND]
2323
USAGE
2424
$ csdx COMMAND

packages/contentstack-bulk-publish/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@contentstack/cli-cm-bulk-publish",
33
"description": "Contentstack CLI plugin for bulk publish actions",
4-
"version": "1.11.0-beta.1",
4+
"version": "1.11.0",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {
8-
"@contentstack/cli-command": "~1.8.0-beta.1",
9-
"@contentstack/cli-config": "~1.20.0-beta.1",
10-
"@contentstack/cli-utilities": "~1.19.0-beta.0",
8+
"@contentstack/cli-command": "~1.8.0",
9+
"@contentstack/cli-config": "~1.20.0",
10+
"@contentstack/cli-utilities": "~1.19.0",
1111
"@oclif/core": "^4.3.0",
1212
"@oclif/plugin-help": "^6.2.28",
1313
"chalk": "^4.1.2",

packages/contentstack-clone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ npm install -g @contentstack/cli-cm-clone
1616
$ csdx COMMAND
1717
running command...
1818
$ csdx (--version)
19-
@contentstack/cli-cm-clone/1.21.0-beta.1 darwin-arm64 node-v22.14.0
19+
@contentstack/cli-cm-clone/1.21.0-beta.1 darwin-arm64 node-v22.13.1
2020
$ csdx --help [COMMAND]
2121
USAGE
2222
$ csdx COMMAND

0 commit comments

Comments
 (0)