Deploy verified dist during release shipping
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
"qa:representative": "node scripts/qa-representative-battles.mjs",
|
"qa:representative": "node scripts/qa-representative-battles.mjs",
|
||||||
"qa:smoke": "node scripts/qa-representative-battles.mjs --set=smoke",
|
"qa:smoke": "node scripts/qa-representative-battles.mjs --set=smoke",
|
||||||
"deploy:nas": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/deploy-nas.ps1 -Build",
|
"deploy:nas": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/deploy-nas.ps1 -Build",
|
||||||
|
"deploy:nas:dist": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/deploy-nas.ps1",
|
||||||
"ship:release": "node scripts/ship-release.mjs"
|
"ship:release": "node scripts/ship-release.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { spawnSync } from 'node:child_process';
|
|||||||
const qaVersion = process.env.PUBLIC_QA_VERSION ?? makeQaVersion();
|
const qaVersion = process.env.PUBLIC_QA_VERSION ?? makeQaVersion();
|
||||||
|
|
||||||
runPnpmScript('verify:local-release');
|
runPnpmScript('verify:local-release');
|
||||||
runPnpmScript('deploy:nas');
|
runPnpmScript('deploy:nas:dist');
|
||||||
runPnpmScript('verify:public-deploy', { PUBLIC_QA_VERSION: qaVersion });
|
runPnpmScript('verify:public-deploy', { PUBLIC_QA_VERSION: qaVersion });
|
||||||
|
|
||||||
console.log(`Shipped and verified public deploy with PUBLIC_QA_VERSION=${qaVersion}`);
|
console.log(`Shipped and verified public deploy with PUBLIC_QA_VERSION=${qaVersion}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user