Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit f42e03c

Browse files
committed
Fix release workflow by packaging VSIX before upload it to release asset.
1 parent 8468af1 commit f42e03c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
tag_name: ${{ steps.version_check.outputs.version }}
3838
release_name: ${{ steps.version_check.outputs.version }}
3939
body: Thanks for following along! For more information check out the [CHANGELOG](https://github.com/seanwu1105/vscode-qt-for-python/blob/master/CHANGELOG.md).
40+
41+
- name: Package VSIX
42+
if: steps.version_check.outputs.changed == 'true'
43+
run: npx vsce package
4044

4145
- name: Upload VSIX to release assets
4246
if: steps.version_check.outputs.changed == 'true'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 0.5.2
4+
5+
Fix release workflow by packaging VSIX file before upload it to release asset.
6+
37
## 0.5.1
48

59
Add publisher property in `package.json` for CI/CD.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Qt for Python",
44
"description": "Qt for Python (PyQt5 and PySide2) extension for Visual Studio Code.",
55
"publisher": "seanwu",
6-
"version": "0.5.1",
6+
"version": "0.5.2",
77
"engines": {
88
"vscode": "^1.50.0"
99
},

0 commit comments

Comments
 (0)