summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-11-22 10:36:05 -0500
committerJames Moger <james.moger@gitblit.com>2013-11-22 10:36:05 -0500
commit3daba4304dba818d54eb9b74d8d35df5aab8fee5 (patch)
treea490212e57fb5151789dc711b119369c00537493 /build.xml
parente1b00bd19810736ea5244e3dbb8cf09525127315 (diff)
downloadgitblit-3daba4304dba818d54eb9b74d8d35df5aab8fee5.tar.gz
gitblit-3daba4304dba818d54eb9b74d8d35df5aab8fee5.zip
Add pull request linking in changelog to generated documentation
Change-Id: I06dbc0fdad93c042d783c97378429856bd9111bf
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index e2c46b2a..3e42cb9d 100644
--- a/build.xml
+++ b/build.xml
@@ -661,6 +661,7 @@
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
<regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />
+ <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />
<!-- Set the logo from the mx:doc resources -->
<logo file="${project.resources.dir}/gitblt_25_white.png" />
@@ -953,7 +954,8 @@
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
<regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />
-
+ <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />
+
<!-- Set the logo from the mx:doc resources -->
<logo file="${project.resources.dir}/gitblt_25_white.png" />
<favicon file="${project.resources.dir}/gitblt-favicon.png" />