From e6233cbe8fbd89e5d89f3592da354726c73cf811 Mon Sep 17 00:00:00 2001 From: Kees Schollaart Date: Sun, 20 Feb 2022 20:05:48 +0100 Subject: [PATCH] Working Open VSX Publish --- .github/workflows/github-actions-vscode-extension.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions-vscode-extension.yml b/.github/workflows/github-actions-vscode-extension.yml index 1983d08929..136e651d7a 100644 --- a/.github/workflows/github-actions-vscode-extension.yml +++ b/.github/workflows/github-actions-vscode-extension.yml @@ -29,17 +29,17 @@ jobs: run: npm run compile - name: 🚀 VSCode Marketplace Publish - #if: success() && github.ref == 'refs/heads/master' + if: success() && github.ref == 'refs/heads/master' run: | npm install -g vsce - #vsce publish -p $VSCE_TOKEN + vsce publish -p $VSCE_TOKEN vsce package -o vscode-home-assistant.vsix env: VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} - name: 🚀 Open VSX Publish uses: HaaLeo/publish-vscode-extension@v1 - # if: success() && github.ref == 'refs/heads/master' + if: success() && github.ref == 'refs/heads/master' with: pat: ${{ secrets.OPEN_VSX_TOKEN }} extensionFile: vscode-home-assistant.vsix diff --git a/package.json b/package.json index 10e2be4aeb..266c8bd12d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-home-assistant", "displayName": "Home Assistant Config Helper", "description": " Completion for entity-id's in Home Assistant Configurations", - "version": "1.25.0", + "version": "1.26.0", "preview": false, "engines": { "vscode": "^1.45.1"