Skip to content

Commit c73a43e

Browse files
committed
workflow debug
1 parent 5e5fe90 commit c73a43e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/pre-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- feat/** # debug
67
tags:
78
- v*
89
- v*.*.*
@@ -26,7 +27,7 @@ jobs:
2627
- run: npm test
2728
if: runner.os != 'Linux'
2829
- name: Pre release
29-
if: success() && startsWith(github.ref, 'refs/tags/')
30-
run: vsce package --no-yarn
30+
if: success()
31+
run: npm run package.patch
3132
env:
3233
VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: release
22
on:
3-
push:
4-
branches:
5-
- master
63
release:
74
types:
85
- created

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
"scripts": {
236236
"compile": "tsc -p ./",
237237
"watch": "tsc -watch -p ./",
238-
"package": "vsce package --no-yarn",
238+
"package.patch": "vsce package patch --no-yarn",
239239
"release": "vsce publish --no-yarn",
240240
"pretest": "npm run compile && npm run lint",
241241
"lint": "eslint src --ext ts",

0 commit comments

Comments
 (0)