mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🎨 grunt release .knex-migrator (#7591)
no issue - the file was not copied over for the release - @TODO: different solution?
This commit is contained in:
parent
d8214d6a46
commit
c8c696f659
1 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@ var overrides = require('./core/server/overrides'),
|
|||
},
|
||||
expand: true,
|
||||
cwd: '<%= paths.releaseBuild %>/',
|
||||
src: ['**']
|
||||
src: ['**', '.knex-migrator']
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -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: fs.readFileSync('.npmignore', 'utf8').split('\n').filter(Boolean).map(function (pattern) {
|
||||
src: ['.knex-migrator'].concat(fs.readFileSync('.npmignore', 'utf8').split('\n').filter(Boolean).map(function (pattern) {
|
||||
return pattern[0] === '!' ? pattern.substr(1) : '!' + pattern;
|
||||
}),
|
||||
})),
|
||||
dest: '<%= paths.releaseBuild %>/'
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue