semantic-release-vsce 6.0.4 → 6.0.5
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 +54 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,17 +158,26 @@ name: release
|
|
|
158
158
|
|
|
159
159
|
on:
|
|
160
160
|
push:
|
|
161
|
-
branches:
|
|
161
|
+
branches:
|
|
162
|
+
- master
|
|
163
|
+
|
|
164
|
+
permissions:
|
|
165
|
+
contents: read # for checkout
|
|
162
166
|
|
|
163
167
|
jobs:
|
|
164
168
|
release:
|
|
165
169
|
runs-on: ubuntu-latest
|
|
170
|
+
permissions:
|
|
171
|
+
contents: write # to be able to publish a GitHub release
|
|
172
|
+
issues: write # to be able to comment on released issues
|
|
173
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
166
174
|
steps:
|
|
167
|
-
- uses: actions/checkout@
|
|
168
|
-
- uses: actions/setup-node@
|
|
175
|
+
- uses: actions/checkout@v4
|
|
176
|
+
- uses: actions/setup-node@v4
|
|
169
177
|
with:
|
|
170
|
-
node-version:
|
|
178
|
+
node-version: 22
|
|
171
179
|
- run: npm ci
|
|
180
|
+
- run: npm audit signatures
|
|
172
181
|
- run: npx semantic-release
|
|
173
182
|
env:
|
|
174
183
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -228,13 +237,13 @@ jobs:
|
|
|
228
237
|
'semantic-release-vsce',
|
|
229
238
|
{
|
|
230
239
|
packageVsix: false,
|
|
231
|
-
publishPackagePath: '
|
|
240
|
+
publishPackagePath: '*.vsix',
|
|
232
241
|
},
|
|
233
242
|
],
|
|
234
243
|
[
|
|
235
244
|
'@semantic-release/github',
|
|
236
245
|
{
|
|
237
|
-
assets: '
|
|
246
|
+
assets: '*.vsix',
|
|
238
247
|
},
|
|
239
248
|
],
|
|
240
249
|
],
|
|
@@ -251,7 +260,11 @@ name: ci
|
|
|
251
260
|
|
|
252
261
|
on:
|
|
253
262
|
push:
|
|
254
|
-
branches:
|
|
263
|
+
branches:
|
|
264
|
+
- master
|
|
265
|
+
|
|
266
|
+
permissions:
|
|
267
|
+
contents: read # for checkout
|
|
255
268
|
|
|
256
269
|
jobs:
|
|
257
270
|
build:
|
|
@@ -276,6 +289,9 @@ jobs:
|
|
|
276
289
|
- os: ubuntu-latest
|
|
277
290
|
target: alpine-x64
|
|
278
291
|
npm_config_arch: x64
|
|
292
|
+
- os: ubuntu-latest
|
|
293
|
+
target: alpine-arm64
|
|
294
|
+
npm_config_arch: arm64
|
|
279
295
|
- os: macos-latest
|
|
280
296
|
target: darwin-x64
|
|
281
297
|
npm_config_arch: x64
|
|
@@ -286,22 +302,18 @@ jobs:
|
|
|
286
302
|
target: universal
|
|
287
303
|
runs-on: ${{ matrix.os }}
|
|
288
304
|
steps:
|
|
289
|
-
- uses: actions/checkout@
|
|
290
|
-
|
|
291
|
-
- uses: actions/setup-node@v3
|
|
305
|
+
- uses: actions/checkout@v4
|
|
306
|
+
- uses: actions/setup-node@v4
|
|
292
307
|
with:
|
|
293
|
-
node-version:
|
|
294
|
-
|
|
308
|
+
node-version: 22
|
|
295
309
|
- if: matrix.target != 'universal'
|
|
296
310
|
name: Install dependencies (with binaries)
|
|
297
311
|
run: npm ci
|
|
298
312
|
env:
|
|
299
313
|
npm_config_arch: ${{ matrix.npm_config_arch }}
|
|
300
|
-
|
|
301
314
|
- if: matrix.target == 'universal'
|
|
302
315
|
name: Install dependencies (without binaries)
|
|
303
316
|
run: npm ci
|
|
304
|
-
|
|
305
317
|
- run: npx semantic-release --extends ./package.release.config.js
|
|
306
318
|
env:
|
|
307
319
|
VSCE_TARGET: ${{ matrix.target }}
|
|
@@ -311,8 +323,7 @@ jobs:
|
|
|
311
323
|
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
|
312
324
|
# In case you want to publish to Open VSX Registry
|
|
313
325
|
OVSX_PAT: ${{ secrets.OVSX_PAT }}
|
|
314
|
-
|
|
315
|
-
- uses: actions/upload-artifact@v3
|
|
326
|
+
- uses: actions/upload-artifact@v4
|
|
316
327
|
with:
|
|
317
328
|
name: ${{ matrix.target }}
|
|
318
329
|
path: '*.vsix'
|
|
@@ -320,17 +331,20 @@ jobs:
|
|
|
320
331
|
release:
|
|
321
332
|
runs-on: ubuntu-latest
|
|
322
333
|
needs: build
|
|
334
|
+
permissions:
|
|
335
|
+
contents: write # to be able to publish a GitHub release
|
|
336
|
+
issues: write # to be able to comment on released issues
|
|
337
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
323
338
|
steps:
|
|
324
|
-
- uses: actions/checkout@
|
|
325
|
-
|
|
326
|
-
- uses: actions/setup-node@v3
|
|
339
|
+
- uses: actions/checkout@v4
|
|
340
|
+
- uses: actions/download-artifact@v4
|
|
327
341
|
with:
|
|
328
|
-
|
|
329
|
-
|
|
342
|
+
merge-multiple: true
|
|
343
|
+
- uses: actions/setup-node@v4
|
|
344
|
+
with:
|
|
345
|
+
node-version: 22
|
|
330
346
|
- run: npm ci
|
|
331
|
-
|
|
332
|
-
- uses: actions/download-artifact@v3
|
|
333
|
-
|
|
347
|
+
- run: npm audit signatures
|
|
334
348
|
- run: npx semantic-release --extends ./publish.release.config.js
|
|
335
349
|
env:
|
|
336
350
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -347,26 +361,31 @@ name: release
|
|
|
347
361
|
|
|
348
362
|
on:
|
|
349
363
|
push:
|
|
350
|
-
branches:
|
|
364
|
+
branches:
|
|
365
|
+
- master
|
|
366
|
+
|
|
367
|
+
permissions:
|
|
368
|
+
contents: read # for checkout
|
|
351
369
|
|
|
352
370
|
jobs:
|
|
353
371
|
release:
|
|
354
372
|
runs-on: ubuntu-latest
|
|
373
|
+
permissions:
|
|
374
|
+
contents: write # to be able to publish a GitHub release
|
|
375
|
+
issues: write # to be able to comment on released issues
|
|
376
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
355
377
|
steps:
|
|
356
|
-
- uses: actions/checkout@
|
|
357
|
-
- uses:
|
|
358
|
-
with:
|
|
359
|
-
node-version: 16
|
|
360
|
-
- run: npm ci
|
|
361
|
-
|
|
362
|
-
# Log into Azure CLI to get VSCE credentials
|
|
363
|
-
- name: Azure login
|
|
364
|
-
uses: azure/login@v2
|
|
378
|
+
- uses: actions/checkout@v4
|
|
379
|
+
- uses: azure/login@v2
|
|
365
380
|
with:
|
|
366
381
|
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
|
367
382
|
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
|
368
383
|
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
|
369
|
-
|
|
384
|
+
- uses: actions/setup-node@v4
|
|
385
|
+
with:
|
|
386
|
+
node-version: 22
|
|
387
|
+
- run: npm ci
|
|
388
|
+
- run: npm audit signatures
|
|
370
389
|
- run: npx semantic-release
|
|
371
390
|
env:
|
|
372
391
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|