Skip to content

Commit 69e4847

Browse files
chore(ci): use jq instead of Node to prepare SDK release
1 parent ecd90b3 commit 69e4847

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/cd.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ jobs:
2626
continue-on-error: true
2727
- name: Checkout repository
2828
uses: actions/[email protected]
29-
- name: Setup Node
30-
uses: actions/[email protected]
31-
with:
32-
node-version: 23
3329
- name: Prepare for SDK release
34-
run: node .github/sdk.js
30+
run: jq '.version += "-sdk"' "./package.json" > tmp.json && mv ./tmp.json ./package.json
3531
- name: Publish sdk tag to npm
3632
uses: JS-DevTools/[email protected]
3733
with:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nw",
3-
"version": "0.98.0",
3+
"version": "0.98.0-sdk",
44
"description": "An installer for NW.js",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)