From 5933bd0c07cae50fbe7eed976641038b06dfbc82 Mon Sep 17 00:00:00 2001 From: Theodor Kvalsvik Lauritzen Date: Fri, 9 Aug 2024 15:17:21 +0200 Subject: [PATCH] chore: Preparing to deploy language server --- .github/workflows/lspDeploy.yml | 16 ++++++++-------- .../clients/intellij/build.gradle.kts | 2 +- .../clients/vscode/package-lock.json | 4 ++-- .../clients/vscode/package.json | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lspDeploy.yml b/.github/workflows/lspDeploy.yml index 062f75d93bb9..0166f4fa8fee 100644 --- a/.github/workflows/lspDeploy.yml +++ b/.github/workflows/lspDeploy.yml @@ -47,15 +47,15 @@ jobs: working-directory: ./integration/schema-language-server/clients/vscode env: VSCE_PAT: ${{ secrets.VSCE_PAT }} - - # - name: Publish Intellij plugin - # run: gradle publishPlugin - # working-directory: ./integration/schema-language-server/clients/intellij + + # - name: Publish IntelliJ plugin + # run: | + # gradle buildPlugin + # curl -i --header "Authorization: Bearer perm:$INTELLIJ_PLUGIN_PERM" -F pluginId=$PLUGIN_ID -F file=@./build/distributions/vespa-1.0-SNAPSHOT.zip https://plugins.jetbrains.com/plugin/uploadPlugin + # wokring-directory: ./integration/schema-language-server/clients/intellij # env: - # CERTIFICATE_CHAIN: ${{ secrets.INTELLIJ_CERTIFICATE_CHAIN }} - # PRIVATE_KEY: ${{ secrets.INTELLIJ_PRIVATE_KEY }} - # PRIVATE_KEY_PASSWORD: ${{ secrets.INTELLIJ_PRIVATE_KEY_PASSWORD }} - # PUBLISH_TOKEN: ${{ secrets.INTELLIJ_PUBLISH_TOKEN }} + # INTELLIJ_PLUGIN_PERM: ${{ secrets.INTELLIJ_PLUGIN_PERM }} + # PLUGIN_ID: 18074 - name: Create PR to bump version uses: peter-evans/create-pull-request@v6 diff --git a/integration/schema-language-server/clients/intellij/build.gradle.kts b/integration/schema-language-server/clients/intellij/build.gradle.kts index 9f7d9f8f2388..c53c00b354df 100644 --- a/integration/schema-language-server/clients/intellij/build.gradle.kts +++ b/integration/schema-language-server/clients/intellij/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "ai.vespa.schemals" -version = "1.0-SNAPSHOT" +version = "2.0.0" repositories { mavenCentral() diff --git a/integration/schema-language-server/clients/vscode/package-lock.json b/integration/schema-language-server/clients/vscode/package-lock.json index ca0f0087ced8..f0761be1065e 100644 --- a/integration/schema-language-server/clients/vscode/package-lock.json +++ b/integration/schema-language-server/clients/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "vespa-language-support", - "version": "0.0.1", + "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vespa-language-support", - "version": "0.0.1", + "version": "0.0.0", "dependencies": { "hasbin": "^1.2.3", "vscode-languageclient": "^9.0.1" diff --git a/integration/schema-language-server/clients/vscode/package.json b/integration/schema-language-server/clients/vscode/package.json index 620c5f79d3f0..2b8638fb872d 100644 --- a/integration/schema-language-server/clients/vscode/package.json +++ b/integration/schema-language-server/clients/vscode/package.json @@ -3,7 +3,7 @@ "displayName": "Vespa Language Support", "description": "Support for Vespa schema files.", "author": "Vespa", - "publisher": "Vespa", + "publisher": "vespaai", "version": "0.0.0", "engines": { "vscode": "^1.72.0"