File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,13 +88,17 @@ export default async function(github) {
8888 const newVersions = await checkForMuslVersionsAndSecurityReleases ( github , versions ) ;
8989 let updatedVersions = [ ] ;
9090 for ( const [ version , newVersion ] of Object . entries ( newVersions ) ) {
91- if ( newVersion . muslBuildExists ) {
92- const { stdout } = await exec ( `./update.sh ${ newVersion . isSecurityRelease ? "-s " : "" } ${ version } ` ) ;
91+ if ( newVersion . isSecurityRelease ) {
92+ console . log ( `Processing security release ${ newVersion . fullVersion } ` ) ;
93+ const { stdout } = await exec ( `./update.sh -s ${ version } ` ) ;
94+ console . log ( stdout ) ;
95+ updatedVersions . push ( newVersion . fullVersion ) ;
96+ } else if ( newVersion . muslBuildExists ) {
97+ const { stdout } = await exec ( `./update.sh ${ version } ` ) ;
9398 console . log ( stdout ) ;
9499 updatedVersions . push ( newVersion . fullVersion ) ;
95100 } else {
96- console . log ( `There's no musl build for version ${ newVersion . fullVersion } yet.` ) ;
97- process . exit ( 0 ) ;
101+ console . log ( `There's no musl build for version ${ newVersion . fullVersion } yet. Skipping non-security release.` ) ;
98102 }
99103 }
100104 const { stdout } = ( await exec ( `git diff` ) ) ;
You can’t perform that action at this time.
0 commit comments