NIFI-623: - Add command to add unknown files to svn repo. - Clearing version in rest docs title.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/8c7dd6ab Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/8c7dd6ab Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/8c7dd6ab Branch: refs/heads/develop Commit: 8c7dd6ab3d6fb50b91903688b0b5eb5e8a4e3e99 Parents: 031c22e Author: Matt Gilman <[email protected]> Authored: Wed May 20 10:19:46 2015 -0400 Committer: Matt Gilman <[email protected]> Committed: Wed May 20 10:19:46 2015 -0400 ---------------------------------------------------------------------- nifi-site/Gruntfile.js | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/8c7dd6ab/nifi-site/Gruntfile.js ---------------------------------------------------------------------- diff --git a/nifi-site/Gruntfile.js b/nifi-site/Gruntfile.js index bead8b6..33b2561 100644 --- a/nifi-site/Gruntfile.js +++ b/nifi-site/Gruntfile.js @@ -163,6 +163,7 @@ module.exports = function (grunt) { message: 'SVN password (if different from configured):' }], then: function () { + grunt.task.run('exec:add'); grunt.task.run('exec:commit'); } } @@ -206,6 +207,12 @@ module.exports = function (grunt) { stdout: true, stderr: true }, + add: { + cwd: 'dist', + command: 'svn add --force .', + stdout: true, + stderr: true + }, commit: { cwd: 'dist', command: function() { @@ -254,6 +261,9 @@ module.exports = function (grunt) { replacements: [{ from: /<div class="sub-title">.*<\/div>/g, to: '<div class="sub-title">NiFi Rest Api</div>' + }, { + from: /<title>.*<\/title>/g, + to: '<title>NiFi Rest Api</title>' }] } },
