diff --git a/Gruntfile.js b/Gruntfile.js index 43c735333..a1853e944 100644 --- a/Gruntfile.js +++ b/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']);