Opera add-ons store wants .nex.
I know this is beta but cumon.
This commit is contained in:
parent
03e3dc5ceb
commit
9fd03c7a47
12
Gruntfile.js
12
Gruntfile.js
@ -83,6 +83,16 @@ module.exports = function(grunt) {
|
||||
dest: 'builds/crx/',
|
||||
expand: true,
|
||||
flatten: true
|
||||
},
|
||||
// for_d19
|
||||
// 19 juin 2013 10:32:22
|
||||
// We're currently sniffing the type of the file based on file extension.
|
||||
// We have a different type of content, Themes, which use a pure zip-file with a .zip ending.
|
||||
// This solution is sub-optimal and will be changed in the future.
|
||||
// For now, upload an unsigned ZIP-file with the ending .nex or .crx.
|
||||
nex: {
|
||||
src: 'builds/<%= pkg.name %>.zip',
|
||||
dest: 'builds/<%= pkg.name %>.nex'
|
||||
}
|
||||
},
|
||||
coffee: {
|
||||
@ -198,7 +208,7 @@ module.exports = function(grunt) {
|
||||
'clean:tmpuserscript'
|
||||
]);
|
||||
|
||||
grunt.registerTask('release', ['shell:commit', 'shell:push', 'build-crx', 'compress:crx']);
|
||||
grunt.registerTask('release', ['shell:commit', 'shell:push', 'build-crx', 'compress:crx', 'copy:nex']);
|
||||
grunt.registerTask('patch', ['bump', 'updcl:3', 'release']);
|
||||
grunt.registerTask('minor', ['bump:minor', 'updcl:2', 'release']);
|
||||
grunt.registerTask('major', ['bump:major', 'updcl:1', 'release']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user