don't rebuild during the release process

This commit is contained in:
jjspace 2024-10-28 14:59:01 -04:00
parent bb40a85787
commit 1279840a48
No known key found for this signature in database
GPG Key ID: AAE16392774885F4
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ There is no release manager; instead, our community shares the responsibility. A
13. Run `npm install`.
14. Make sure `ThirdParty.json` is up to date by running `npm run build-third-party`. If there are any changes, verify and commit them.
15. Create the release zip `npm run make-zip`.
16. Run tests against the release `npm run test -- --failTaskOnError --release`. Test **in all browsers** with the `--browsers` flag (i.e. `--browsers Firefox,Chrome`). Alternatively, test with the browser Spec Runner by starting a local server (`npm start`) and browsing to http://localhost:8080/Specs/SpecRunner.html?built=true&release=true.
16. Run tests against the release `npm run test -- --failTaskOnError --release`. Test **in all browsers** with the `--browsers` flag (i.e. `--browsers Firefox,Chrome`). Alternatively, test with the browser Spec Runner by starting a local server (`npm start -- --production`) and browsing to http://localhost:8080/Specs/SpecRunner.html?built=true&release=true.
17. Run end to end tests against the release with `npm run test-e2e-release`, or multiple browsers with `npm run test-e2e-release-all`.
18. Unpack the release zip to the directory of your choice and start the server by running `npm install` and then `npm start`
19. Browse to http://localhost:8080 and confirm that the home page loads as expected and all links work.

View File

@ -1006,7 +1006,7 @@ export async function test() {
workspace = workspace.replaceAll(`@${scope}/`, ``);
}
if (!isProduction) {
if (!isProduction && !release) {
console.log("Building specs...");
await buildCesium({
iife: true,