mirror of https://github.com/apache/nifi.git
NIFI-623:
- Add command to add unknown files to svn repo. - Clearing version in rest docs title.
This commit is contained in:
parent
031c22e61e
commit
8c7dd6ab3d
|
@ -163,6 +163,7 @@ module.exports = function (grunt) {
|
||||||
message: 'SVN password (if different from configured):'
|
message: 'SVN password (if different from configured):'
|
||||||
}],
|
}],
|
||||||
then: function () {
|
then: function () {
|
||||||
|
grunt.task.run('exec:add');
|
||||||
grunt.task.run('exec:commit');
|
grunt.task.run('exec:commit');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -206,6 +207,12 @@ module.exports = function (grunt) {
|
||||||
stdout: true,
|
stdout: true,
|
||||||
stderr: true
|
stderr: true
|
||||||
},
|
},
|
||||||
|
add: {
|
||||||
|
cwd: 'dist',
|
||||||
|
command: 'svn add --force .',
|
||||||
|
stdout: true,
|
||||||
|
stderr: true
|
||||||
|
},
|
||||||
commit: {
|
commit: {
|
||||||
cwd: 'dist',
|
cwd: 'dist',
|
||||||
command: function() {
|
command: function() {
|
||||||
|
@ -254,6 +261,9 @@ module.exports = function (grunt) {
|
||||||
replacements: [{
|
replacements: [{
|
||||||
from: /<div class="sub-title">.*<\/div>/g,
|
from: /<div class="sub-title">.*<\/div>/g,
|
||||||
to: '<div class="sub-title">NiFi Rest Api</div>'
|
to: '<div class="sub-title">NiFi Rest Api</div>'
|
||||||
|
}, {
|
||||||
|
from: /<title>.*<\/title>/g,
|
||||||
|
to: '<title>NiFi Rest Api</title>'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue