Don't publish release binaries into site-build repo

We're going to be hosting them in GitHub Releases instead.
This commit is contained in:
Benjamin Gilbert 2013-07-22 03:52:24 -04:00
parent aa7111aef1
commit 5555698cae

View File

@ -191,6 +191,10 @@ module.exports = function(grunt) {
// Copies the contents of the build folder into the release folder. // Copies the contents of the build folder into the release folder.
grunt.registerTask("copy:release", function() { grunt.registerTask("copy:release", function() {
grunt.file.recurse("build", function(abspath, rootdir, subdir, filename) { grunt.file.recurse("build", function(abspath, rootdir, subdir, filename) {
if (subdir === 'releases') {
return;
}
var dest = releaseRoot var dest = releaseRoot
+ (subdir ? subdir + "/" : '/') + (subdir ? subdir + "/" : '/')
+ filename; + filename;