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

Commit 8468af1

Browse files
committed
Add publisher property in package.json for CI/CD.
1 parent f2644d2 commit 8468af1

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ jobs:
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).
4040

41+
- name: Upload VSIX to release assets
42+
if: steps.version_check.outputs.changed == 'true'
43+
uses: actions/upload-release-asset@v1
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
with:
47+
upload_url: ${{ steps.create_release.outputs.upload_url }}
48+
asset_path: ./vscode-qt-for-python-${{ steps.version_check.outputs.version }}.vsix
49+
asset_name: vscode-qt-for-python-${{ steps.version_check.outputs.version }}.vsix
50+
asset_content_type: application/vsix
51+
4152
- name: Publish on Visual Studio Code Extension Marketplace
4253
if: steps.version_check.outputs.changed == 'true'
4354
run: npm run deploy

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.1
4+
5+
Add publisher property in `package.json` for CI/CD.
6+
37
## 0.5.0
48

59
Add the syntax highlighting for `require` keyword in QML.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "vscode-qt-for-python",
33
"displayName": "Qt for Python",
44
"description": "Qt for Python (PyQt5 and PySide2) extension for Visual Studio Code.",
5-
"version": "0.5.0",
5+
"publisher": "seanwu",
6+
"version": "0.5.1",
67
"engines": {
78
"vscode": "^1.50.0"
89
},

0 commit comments

Comments
 (0)