File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const util = require('./util')
15
15
const defaultLogger = debug ( 'electron-installer-redhat' )
16
16
17
17
const defaultRename = function ( dest , src ) {
18
- return path . join ( dest , '<%= name %>-<%= version %>.<%= arch %>.rpm' )
18
+ return path . join ( dest , '<%= name %>-<%= version %>-<%= revision %> .<%= arch %>.rpm' )
19
19
}
20
20
21
21
class RedhatInstaller extends common . ElectronInstaller {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe('cli', function () {
29
29
30
30
runCLI ( { src : 'test/fixtures/app-with-asar/' , dest : outputDir , arch : 'x86' } )
31
31
32
- it ( 'generates a `.rpm` package' , ( ) => access ( path . join ( outputDir , 'footest-0.0.1.x86.rpm' ) ) )
32
+ it ( 'generates a `.rpm` package' , ( ) => access ( path . join ( outputDir , 'footest-0.0.1-1 .x86.rpm' ) ) )
33
33
34
34
cleanupOutputDir ( outputDir )
35
35
} )
@@ -39,7 +39,7 @@ describe('cli', function () {
39
39
40
40
runCLI ( { src : 'test/fixtures/app-without-asar/' , dest : outputDir , arch : 'x86_64' } )
41
41
42
- it ( 'generates a `.rpm` package' , ( ) => access ( path . join ( outputDir , 'bartest-0.0.1.x86_64.rpm' ) ) )
42
+ it ( 'generates a `.rpm` package' , ( ) => access ( path . join ( outputDir , 'bartest-0.0.1-1 .x86_64.rpm' ) ) )
43
43
44
44
after ( ( ) => fs . remove ( outputDir ) )
45
45
} )
You can’t perform that action at this time.
0 commit comments