From 68741a11068b3451a93cbc10244072ea159094a3 Mon Sep 17 00:00:00 2001 From: Katharina Irrgang Date: Mon, 23 Jan 2017 12:33:03 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=8E=A8=20=20grunt=20release=20.?= =?UTF-8?q?knex-migrator"=20(#7874)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #7489 --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index c77f42100c70..5b598d78e4f0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -280,7 +280,7 @@ var overrides = require('./core/server/overrides'), }, expand: true, cwd: '<%= paths.releaseBuild %>/', - src: ['**', '.knex-migrator'] + src: ['**'] } }, @@ -719,9 +719,9 @@ var overrides = require('./core/server/overrides'), // A list of files and patterns to include when creating a release zip. // This is read from the `.npmignore` file and all patterns are inverted as the `.npmignore` // file defines what to ignore, whereas we want to define what to include. - src: ['.knex-migrator'].concat(fs.readFileSync('.npmignore', 'utf8').split('\n').filter(Boolean).map(function (pattern) { + src: fs.readFileSync('.npmignore', 'utf8').split('\n').filter(Boolean).map(function (pattern) { return pattern[0] === '!' ? pattern.substr(1) : '!' + pattern; - })), + }), dest: '<%= paths.releaseBuild %>/' });