Revert "🎨 grunt release .knex-migrator" (#7874)

refs #7489
This commit is contained in:
Katharina Irrgang 2017-01-23 12:33:03 +01:00 committed by GitHub
parent 89ef60fdba
commit 68741a1106
1 changed files with 3 additions and 3 deletions

View File

@ -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 %>/'
});