From 1ccfd79662ba5ee18de97df0ebe5f46a9a3ea70f Mon Sep 17 00:00:00 2001 From: Denis Loginov <137337+dinvlad@users.noreply.github.com> Date: Fri, 19 Apr 2024 18:01:50 -0400 Subject: [PATCH] Fix vscode/pypi plugin versions (#40) --- .github/workflows/publish-vscode.yml | 2 +- server/setup.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-vscode.yml b/.github/workflows/publish-vscode.yml index 7ca0a1e..18a9e8d 100644 --- a/.github/workflows/publish-vscode.yml +++ b/.github/workflows/publish-vscode.yml @@ -31,4 +31,4 @@ jobs: - name: Publish if: github.event_name == 'release' run: npm version ${{ github.ref_name }} && - npm run vsce publish -p ${{ secrets.VSCE_TOKEN }} + npm run vsce publish -p ${{ secrets.VSCE_TOKEN }} ${{ github.ref_name }} diff --git a/server/setup.py b/server/setup.py index 6575d49..c40394d 100644 --- a/server/setup.py +++ b/server/setup.py @@ -30,6 +30,9 @@ 'tests', ], ), + setup_requires=[ + 'setuptools_scm', + ], use_scm_version={ 'root': '..', 'relative_to': __file__,