Don't compress identical zip file twice.
This commit is contained in:
parent
4311c2b6c2
commit
24ff8a730f
@ -129,6 +129,9 @@ module.exports = (grunt) ->
|
|||||||
dest: 'testbuilds/crx<%= pkg.meta.suffix[pkg.channel] %>/'
|
dest: 'testbuilds/crx<%= pkg.meta.suffix[pkg.channel] %>/'
|
||||||
expand: true
|
expand: true
|
||||||
flatten: true
|
flatten: true
|
||||||
|
zip:
|
||||||
|
src: 'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.crx.zip'
|
||||||
|
dest: 'testbuilds/<%= pkg.name %>.zip'
|
||||||
builds:
|
builds:
|
||||||
cwd: 'testbuilds/'
|
cwd: 'testbuilds/'
|
||||||
src: '*'
|
src: '*'
|
||||||
@ -249,17 +252,6 @@ module.exports = (grunt) ->
|
|||||||
dest: '/'
|
dest: '/'
|
||||||
date: '<%= pkg.meta.date %>'
|
date: '<%= pkg.meta.date %>'
|
||||||
mode: parseInt('644', 8)
|
mode: parseInt('644', 8)
|
||||||
zip:
|
|
||||||
options:
|
|
||||||
archive: 'testbuilds/<%= pkg.name %>.zip'
|
|
||||||
level: 9
|
|
||||||
pretty: true
|
|
||||||
expand: true
|
|
||||||
flatten: true
|
|
||||||
src: 'testbuilds/crx<%= pkg.meta.suffix.noupdate %>/*'
|
|
||||||
dest: '/'
|
|
||||||
date: '<%= pkg.meta.date %>'
|
|
||||||
mode: parseInt('644', 8)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
builds: 'builds'
|
builds: 'builds'
|
||||||
@ -358,7 +350,7 @@ module.exports = (grunt) ->
|
|||||||
'build-crx-channel'
|
'build-crx-channel'
|
||||||
'set-channel:noupdate'
|
'set-channel:noupdate'
|
||||||
'build-crx-channel'
|
'build-crx-channel'
|
||||||
'compress:zip'
|
'copy:zip'
|
||||||
'clean:tmpcrx'
|
'clean:tmpcrx'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user