File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -182,18 +182,18 @@ jobs:
182
182
- run :
183
183
name : Build .vsix package
184
184
command : |
185
- packagePath=./release/redis-for-vscode-extension-linux-x64.vsix
186
185
envFile=".env"
186
+ packagePath="./release/redis-for-vscode-extension-linux-x64.vsix"
187
187
yarn download:backend
188
188
189
189
if [ << parameters.env >> == 'prod' ]; then
190
- echo "SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY " >> $envFile
190
+ echo "RI_SEGMENT_WRITE_KEY='$RI_SEGMENT_WRITE_KEY' " >> $envFile
191
191
yarn package:prod --out ${packagePath}
192
192
exit 0;
193
193
fi
194
194
195
- echo "SEGMENT_WRITE_KEY=$SEGMENT_WRITE_KEY_STAGE " >> $envFile
196
- sed -i '' ' s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME=" .redis-for-vscode-stage"/' .env
195
+ echo "RI_SEGMENT_WRITE_KEY='$RI_SEGMENT_WRITE_KEY_STAGE' " >> $envFile
196
+ sed -i " s/^RI_APP_FOLDER_NAME=.*/RI_APP_FOLDER_NAME=' .redis-for-vscode-stage'/" $envFile
197
197
yarn package:stage --out ${packagePath}
198
198
- persist_to_workspace :
199
199
root : .
You can’t perform that action at this time.
0 commit comments