Remove temporary v17.7.2 test patch helper
This commit is contained in:
parent
1a630e13da
commit
446e670f5a
@ -1,18 +0,0 @@
|
|||||||
import fs from 'node:fs';
|
|
||||||
for(const p of ['tests/static-security.mjs','tests/release-check.mjs','tests/app.spec.mjs']){
|
|
||||||
let s=fs.readFileSync(p,'utf8');
|
|
||||||
s=s.split("const VERSION = '17.7.1'").join("const VERSION = '17.7.2'");
|
|
||||||
s=s.split("version).toBe('17.7.1')").join("version).toBe('17.7.2')");
|
|
||||||
s=s.split('v76-20260909-v17-7-1-data-layer-adoption').join('v77-20260909-v17-7-2-clients-foundation');
|
|
||||||
s=s.split('v76-20260909-v17-7-2-clients-foundation').join('v77-20260909-v17-7-2-clients-foundation');
|
|
||||||
s=s.split('data-layer-v1771.js').join('data-layer-v1772.js');
|
|
||||||
s=s.split('v17.7.1 Data Layer Adoption').join('v17.7.2 Clients Foundation');
|
|
||||||
s=s.split('service worker cache is v17.7.0').join('service worker cache is v17.7.2');
|
|
||||||
s=s.split('index cache-busting points to v17.7.0').join('index cache-busting points to v17.7.2');
|
|
||||||
s=s.split('package version is v17.7.1').join('package version is v17.7.2');
|
|
||||||
s=s.split('index cache bust is v17.7.0').join('index cache bust is v17.7.2');
|
|
||||||
s=s.split('stability logger reports v17.7.1').join('stability logger reports v17.7.2');
|
|
||||||
s=s.split('PWA caches architecture foundation modules').join('PWA caches v17.7.2 client foundation modules');
|
|
||||||
fs.writeFileSync(p,s);
|
|
||||||
}
|
|
||||||
console.log('v17.7.2 stale release assertions fixed');
|
|
||||||
Loading…
Reference in New Issue
Block a user