semantic-release-vsce 6.0.5 → 6.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ jobs:
|
|
|
214
214
|
'semantic-release-vsce',
|
|
215
215
|
{
|
|
216
216
|
packageVsix: true,
|
|
217
|
-
publish: false,
|
|
217
|
+
publish: false,
|
|
218
218
|
},
|
|
219
219
|
],
|
|
220
220
|
'semantic-release-stop-before-publish',
|
|
@@ -276,7 +276,7 @@ jobs:
|
|
|
276
276
|
npm_config_arch: x64
|
|
277
277
|
- os: windows-latest
|
|
278
278
|
target: win32-arm64
|
|
279
|
-
npm_config_arch:
|
|
279
|
+
npm_config_arch: arm64
|
|
280
280
|
- os: ubuntu-latest
|
|
281
281
|
target: linux-x64
|
|
282
282
|
npm_config_arch: x64
|
|
@@ -301,6 +301,12 @@ jobs:
|
|
|
301
301
|
- os: ubuntu-latest
|
|
302
302
|
target: universal
|
|
303
303
|
runs-on: ${{ matrix.os }}
|
|
304
|
+
# Even though semantic-release will not publish anything, it still needs to
|
|
305
|
+
# validate the GITHUB_TOKEN
|
|
306
|
+
permissions:
|
|
307
|
+
contents: write # to be able to publish a GitHub release
|
|
308
|
+
issues: write # to be able to comment on released issues
|
|
309
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
304
310
|
steps:
|
|
305
311
|
- uses: actions/checkout@v4
|
|
306
312
|
- uses: actions/setup-node@v4
|
|
@@ -317,16 +323,20 @@ jobs:
|
|
|
317
323
|
- run: npx semantic-release --extends ./package.release.config.js
|
|
318
324
|
env:
|
|
319
325
|
VSCE_TARGET: ${{ matrix.target }}
|
|
320
|
-
# All tokens are required since semantic-release needs to validate them
|
|
321
326
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
322
|
-
# In case you want to publish to Visual Studio Marketplace
|
|
323
|
-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
|
324
|
-
# In case you want to publish to Open VSX Registry
|
|
325
|
-
OVSX_PAT: ${{ secrets.OVSX_PAT }}
|
|
326
327
|
- uses: actions/upload-artifact@v4
|
|
327
328
|
with:
|
|
328
329
|
name: ${{ matrix.target }}
|
|
329
330
|
path: '*.vsix'
|
|
331
|
+
# vsce updates the version in package.json and package-lock.json during
|
|
332
|
+
# package step, so we need to save them for the publish step
|
|
333
|
+
- if: matrix.target == 'universal'
|
|
334
|
+
uses: actions/upload-artifact@v4
|
|
335
|
+
with:
|
|
336
|
+
name: package-json
|
|
337
|
+
path: |
|
|
338
|
+
package.json
|
|
339
|
+
package-lock.json
|
|
330
340
|
|
|
331
341
|
release:
|
|
332
342
|
runs-on: ubuntu-latest
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semantic-release-vsce",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.6",
|
|
4
4
|
"description": "semantic-release plugin to package and publish VS Code extensions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|
|
50
|
-
"node": "22.
|
|
50
|
+
"node": "22.13.0",
|
|
51
51
|
"npm": "11.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|