From a776405edd5ee7ac2c6de1760cba3bd8f2723d48 Mon Sep 17 00:00:00 2001 From: tgodzik Date: Fri, 21 Apr 2023 17:51:51 +0200 Subject: [PATCH] bugfix: Make release properly build language-server package --- .github/workflows/release.yml | 8 ++++++-- packages/metals-vscode/package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc6a62869..258101405 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,9 @@ jobs: run: git push origin HEAD:main - name: Publish extension run: | - cd packages/metals-vscode + cd packages/metals-languageclient + yarn install && yarn build + cd ../metals-vscode yarn vscode:publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }} - name: Build VSIX package run: | @@ -54,7 +56,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_upload_url.outputs.UPLOAD_URL }} - asset_path: ./packages/metals-vscode/metals-${{ steps.get_version.outputs.NEW_VERSION }}.vsix + asset_path: + ./packages/metals-vscode/metals-${{ + steps.get_version.outputs.NEW_VERSION }}.vsix asset_name: | scalameta.metals-${{ steps.get_version.outputs.NEW_VERSION }}.vsix asset_content_type: application/octet-stream diff --git a/packages/metals-vscode/package.json b/packages/metals-vscode/package.json index 0fa0fa895..d0b568209 100644 --- a/packages/metals-vscode/package.json +++ b/packages/metals-vscode/package.json @@ -9,7 +9,7 @@ "ide", "scalameta" ], - "version": "1.23.0", + "version": "1.22.7", "publisher": "scalameta", "contributors": [ {