Skip to content

Commit cbb4bb3

Browse files
authored
Merge pull request #48 from gbrueckl/dev_gbrueckl
Dev gbrueckl
2 parents 868350e + 4d279fe commit cbb4bb3

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows/create_release_and_publish.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@ jobs:
2929
- name: Install vsce
3030
run: npm i -g vsce
3131

32+
# we first publish to VSCode gallery
33+
# in case that version is already there, it would fail and also not overwrite the Github Release
34+
- name: Publish extension to VSCode Marketplace
35+
if: ${{ (inputs.publish == 'true') || (github.event_name == 'push') }}
36+
env:
37+
VSCE_PUBLISH_TOKEN: ${{ secrets.VSCE_PUBLISH_TOKEN }}
38+
run: vsce publish -p $VSCE_PUBLISH_TOKEN
39+
40+
- name: Publish extension to Open VSX Registry
41+
uses: HaaLeo/publish-vscode-extension@v2
42+
id: publishToOpenVSX
43+
with:
44+
pat: ${{ secrets.OPENVSX_PUBLISH_TOKEN }}
45+
3246
- name: Calculate version/tag-name from package.json
3347
id: calculatePackageVersion
3448
run: |
@@ -51,8 +65,3 @@ jobs:
5165
*.vsix
5266
CHANGELOG.md
5367
54-
- name: Publish extension
55-
if: ${{ inputs.publish == 'true' }} || ${{ github.event_name == 'push' }}
56-
env:
57-
VSCE_PUBLISH_TOKEN: ${{ secrets.VSCE_PUBLISH_TOKEN }}
58-
run: vsce publish -p $VSCE_PUBLISH_TOKEN

CHANGELOG.md

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

3+
**v2.8.2**:
4+
- added automated deployment to [OpenVSX](https://open-vsx.org/)
5+
36
**v2.8.1**:
47
- added automated deployment to marketplace
58

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "powerbi-vscode",
33
"displayName": "Power BI Studio",
44
"description": "An extension to manage your Power BI resources from within VSCode",
5-
"version": "2.8.1",
5+
"version": "2.8.2",
66
"publisher": "GerhardBrueckl",
77
"icon": "resources/powerbi_extension.png",
88
"author": {

0 commit comments

Comments
 (0)