File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,11 +154,16 @@ function packageWindows() {
154154 // the architecture similar to how the setup exe and msi do so we'll just
155155 // have to rename them here after the fact.
156156 const arch = getDistArchitecture ( )
157- const prefix = `${ getWindowsIdentifierName ( ) } -${ getVersion ( ) } `
158157
159158 for ( const kind of shouldMakeDelta ( ) ? [ 'full' , 'delta' ] : [ 'full' ] ) {
160- const from = join ( outputDir , `${ prefix } -${ kind } .nupkg` )
161- const to = join ( outputDir , `${ prefix } -${ arch } -${ kind } .nupkg` )
159+ const from = join (
160+ outputDir ,
161+ `${ getWindowsIdentifierName ( ) } -${ getSemverCompatibleVersion ( ) } -${ kind } .nupkg`
162+ )
163+ const to = join (
164+ outputDir ,
165+ `${ getWindowsIdentifierName ( ) } -${ getVersion ( ) } -${ arch } -${ kind } .nupkg`
166+ )
162167
163168 console . log ( `Renaming ${ from } to ${ to } ` )
164169 await rename ( from , to )
You can’t perform that action at this time.
0 commit comments