Skip to content

Commit

Permalink
🎨 grunt release .knex-migrator (#7591)
Browse files Browse the repository at this point in the history
no issue
- the file was not copied over for the release
- @todo: different solution?
  • Loading branch information
kirrg001 authored and ErisDS committed Oct 24, 2016
1 parent d8214d6 commit c8c696f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ var overrides = require('./core/server/overrides'),
},
expand: true,
cwd: '<%= paths.releaseBuild %>/',
src: ['**']
src: ['**', '.knex-migrator']
}
},

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

Expand Down

0 comments on commit c8c696f

Please sign in to comment.