mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
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:
parent
aa7111aef1
commit
5555698cae
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user