From b883a197dc79de2d8b2fb6e8e6cc21ce5d3e5ebf Mon Sep 17 00:00:00 2001 From: Chaoyi Yuan Date: Wed, 15 Jan 2025 10:25:06 +0800 Subject: [PATCH] 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