Adjust merge script to add "gw" as TOC
All checks were successful
Generate Release / validate_and_release (push) Successful in 16s

This commit is contained in:
Fred Boniface 2024-10-24 20:54:59 +01:00
parent 93726137aa
commit 0c159e121b
2 changed files with 2 additions and 1 deletions

View File

@ -2684,7 +2684,7 @@ pis:
- code: "6121" - code: "6121"
stops: [cdf,nwp,fit,bri,kyn,olf,bth,ffd,avf,boa,tro,wsb,wmn,sal,rom,sou,frm,ftn,pms,pmh] stops: [cdf,nwp,fit,bri,kyn,olf,bth,ffd,avf,boa,tro,wsb,wmn,sal,rom,sou,frm,ftn,pms,pmh]
- code: "6122" - code: "6122"
stops: [cdf,nwp,stj,pwy,fit,bri,kyn,olf,bth,boa,tro,wsg,wmn,sal,rom,sou,frm,ftn,pms,pmh] stops: [cdf,nwp,stj,pwy,fit,bri,kyn,olf,bth,boa,tro,wsb,wmn,sal,rom,sou,frm,ftn,pms,pmh]
- code: "6123" - code: "6123"
stops: [bri,nls,yat,wor,wsm,hig,bwt,tau,tvp,exd,nta,tot,ivy,ply,sts,sgm,lsk,bod,los,par,sau,tru,red,cbn,hyl,ser,pnz] stops: [bri,nls,yat,wor,wsm,hig,bwt,tau,tvp,exd,nta,tot,ivy,ply,sts,sgm,lsk,bod,los,par,sau,tru,red,cbn,hyl,ser,pnz]
- code: "6124" - code: "6124"

View File

@ -39,6 +39,7 @@ function sortAndMergeYAMLFiles() {
if (item.stops.length > 0) { if (item.stops.length > 0) {
outputString += ` - code: "${item.code}"\n`; outputString += ` - code: "${item.code}"\n`;
outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`; outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`;
outputString += ` toc: "gw"`;
} }
}); });