Skip to content

Commit 875a016

Browse files
Update variable usage in the build pipeline for compatibility with Windows CMD (#1452)
1 parent f7ec4ae commit 875a016

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extends:
8181
- task: CmdLine@2
8282
displayName: Replace AI key
8383
inputs:
84-
script: npx json@9.0.6 -I -f package.json -e "this.aiKey=\"$AI_KEY\""
84+
script: npx json@9.0.6 -I -f package.json -e "this.aiKey=\"%AI_KEY%\""
8585
- task: CmdLine@2
8686
displayName: vsce package --pre-release
8787
inputs:

.azure-pipelines/rc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ extends:
7272
- task: CmdLine@2
7373
displayName: Replace AI key
7474
inputs:
75-
script: npx json@9.0.6 -I -f package.json -e "this.aiKey=\"$AI_KEY\""
75+
script: npx json@9.0.6 -I -f package.json -e "this.aiKey=\"%AI_KEY%\""
7676
- task: CmdLine@2
7777
displayName: vsce package
7878
inputs:

0 commit comments

Comments
 (0)