Skip to content

Commit

Permalink
Revert "🎨 grunt release .knex-migrator" (#7874)
Browse files Browse the repository at this point in the history
refs #7489
  • Loading branch information
kirrg001 committed Jan 23, 2017
1 parent 89ef60f commit 68741a1
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: ['**', '.knex-migrator']
src: ['**']
}
},

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: ['.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 %>/'
});

Expand Down

0 comments on commit 68741a1

Please sign in to comment.