From 73a2204e944b83487da16575fe9145d64a3e308a Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Wed, 17 Apr 2024 11:07:58 +0200 Subject: [PATCH] FIX: versioning in publishing vsix --- .github/workflows/publish.yml | 17 +++++++++++++++-- manifest.yml | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8fbd0ff..e26ab0c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -121,7 +121,7 @@ jobs: - name: Save artifact uses: actions/upload-artifact@v2 with: - name: script-sync + name: script-sync-vsix path: VSCode/scriptsync/*.vsix publish_vsix: @@ -136,6 +136,19 @@ jobs: with: node-version: '14' + - name: Python setup + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install pip and invoke + run: | + python -m pip install --upgrade pip + pip install invoke + + - name: Sync version + run: invoke syncv + - name: Install VSCE run: npm install -g vsce @@ -151,7 +164,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v2 with: - name: script-sync + name: script-sync-vsix path: VSCode\scriptsync - name: Publish to VSCode Marketplace diff --git a/manifest.yml b/manifest.yml index c44a7e8..87b79b1 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,6 +1,6 @@ --- name: script-sync -version: 1.1.9 +version: 1.1.10 authors: - Andrea Settimi description: Script-sync is a Rhino plug-in to run C# and Python (IronPython or CPython) in RhinoV8.