Skip to content

Commit d9eff99

Browse files
committed
ci: use publish-vscode-extension@v2 and chain VSIX; update CHANGELOG for v1.4.3
1 parent 2eef404 commit d9eff99

4 files changed

Lines changed: 15 additions & 12 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,15 @@ jobs:
6767
node-version: 18
6868
- name: Install Dependencies
6969
run: npm install
70-
- name: Download Build Artifact
71-
uses: actions/download-artifact@v4
70+
- name: Publish to Open VSX Registry
71+
uses: HaaLeo/publish-vscode-extension@v2
72+
id: publishToOpenVSX
7273
with:
73-
name: ${{ needs.build.outputs.vsixPath }}
74+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
7475
- name: Publish to Visual Studio Marketplace
75-
uses: HaaLeo/publish-vscode-extension@v1
76+
uses: HaaLeo/publish-vscode-extension@v2
7677
with:
7778
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
78-
extensionFile: ${{ needs.build.outputs.vsixPath }}
7979
registryUrl: https://marketplace.visualstudio.com
80-
- name: Publish to Open VSX Registry
81-
uses: HaaLeo/publish-vscode-extension@v1
82-
with:
83-
pat: ${{ secrets.OPEN_VSX_TOKEN }}
80+
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
8481
extensionFile: ${{ needs.build.outputs.vsixPath }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v1.4.3 [#](https://github.com/chouzz/vscode-better-align/releases/tag/v1.4.3)
2+
3+
- CI: Update publishing workflow to use `HaaLeo/publish-vscode-extension@v2`, chain VSIX from Open VSX output, and remove redundant artifact download in release job
4+
- Add language-aware comment support for multi-language alignment
5+
6+
17
# v1.4.2 [#](https://github.com/chouzz/vscode-better-align/releases/tag/v1.4.2)
28

39
- Fix assignment like C style

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-better-align",
33
"displayName": "Better Align",
44
"description": "Better vertical alignment with/without selection in any language for any characters or words.",
5-
"version": "1.4.2",
5+
"version": "1.4.3",
66
"icon": "images/icon.png",
77
"publisher": "chouzz",
88
"license": "SEE LICENSE IN LICENSE",

0 commit comments

Comments
 (0)