Opera add-ons store wants .nex.

I know this is beta but cumon.
This commit is contained in:
Mayhem 2013-06-26 01:42:17 +02:00
parent 03e3dc5ceb
commit 9fd03c7a47

View File

@ -83,6 +83,16 @@ module.exports = function(grunt) {
dest: 'builds/crx/', dest: 'builds/crx/',
expand: true, expand: true,
flatten: 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: { coffee: {
@ -198,7 +208,7 @@ module.exports = function(grunt) {
'clean:tmpuserscript' '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('patch', ['bump', 'updcl:3', 'release']);
grunt.registerTask('minor', ['bump:minor', 'updcl:2', 'release']); grunt.registerTask('minor', ['bump:minor', 'updcl:2', 'release']);
grunt.registerTask('major', ['bump:major', 'updcl:1', 'release']); grunt.registerTask('major', ['bump:major', 'updcl:1', 'release']);