From d690d8bccbe7970d9d7ee390cfa4eeeac15b62fb Mon Sep 17 00:00:00 2001 From: blackchoey Date: Tue, 14 Jan 2025 23:39:17 +0800 Subject: [PATCH 1/2] build: update service connection in release pipeline --- .azure-pipelines/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/release.yml b/.azure-pipelines/release.yml index c0d839e..4ae3366 100644 --- a/.azure-pipelines/release.yml +++ b/.azure-pipelines/release.yml @@ -18,7 +18,7 @@ resources: type: github name: microsoft/vscode-azuretools ref: main - endpoint: GitHub-AzureTools + endpoint: GitHub-chyuan variables: # Required by MicroBuild template From b883a197dc79de2d8b2fb6e8e6cc21ce5d3e5ebf Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Wed, 15 Jan 2025 10:25:06 +0800 Subject: [PATCH 2/2] build: fix case issue in app insights key replacement --- .azure-pipelines/1esmain.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/1esmain.yml b/.azure-pipelines/1esmain.yml index 8005801..45045c6 100644 --- a/.azure-pipelines/1esmain.yml +++ b/.azure-pipelines/1esmain.yml @@ -48,7 +48,7 @@ extends: additionalSetupSteps: - pwsh: | echo Updating aikey in package.json - (Get-Content package.json) -replace '"aikey": ".*"', '"aikey": "$(PRODUCTION_AI_KEY)"' | Set-Content package.json + (Get-Content package.json) -replace '"aiKey": ".*"', '"aiKey": "$(PRODUCTION_AI_KEY)"' | Set-Content package.json displayName: Update aikey in package.json env: PRODUCTION_AI_KEY: $(PRODUCTION_AI_KEY) \ No newline at end of file