Update the URL to the Gitblit docker image to point to the `gitblit/gitblit` repository, which I now consider the official Docker repository. Also link to the Docker images on the main page.tags/v1.9.2
<!-- Download links --> | <!-- Download links --> | ||||
<property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" /> | <property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" /> | ||||
<property name="docker.url" value="https://hub.docker.com/r/gitblit/gitblit" /> | |||||
<!-- Report Java version --> | <!-- Report Java version --> | ||||
<echo>JDK version: ${ant.java.version}</echo> | <echo>JDK version: ${ant.java.version}</echo> | ||||
<link name="Gitblit GO (Linux/OSX)" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.tar.gz" /> | <link name="Gitblit GO (Linux/OSX)" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.tar.gz" /> | ||||
<link name="Gitblit WAR" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.war" /> | <link name="Gitblit WAR" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.war" /> | ||||
<divider /> | <divider /> | ||||
<link name="Gitblit GO (Docker)" src="https://registry.hub.docker.com/u/jmoger/gitblit/" /> | |||||
<link name="Gitblit GO (Docker)" src="${docker.url}" /> | |||||
<divider /> | <divider /> | ||||
<link name="Plugins Registry" src="http://plugins.gitblit.com" /> | <link name="Plugins Registry" src="http://plugins.gitblit.com" /> | ||||
<divider /> | <divider /> | ||||
</menu> | </menu> | ||||
<divider /> | <divider /> | ||||
</structure> | </structure> | ||||
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" /> | <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" /> | ||||
<replace token="%DOCKERURL%" value="${docker.url}" /> | |||||
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" /> | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" /> | ||||
<regex searchPattern="\b(commit)(\s*[#]?|-){0,1}([0-9a-fA-F]{5,})\b" replacePattern="<a href='https://github.com/gitblit/gitblit/commit/$3'>commit $3</a>" /> | <regex searchPattern="\b(commit)(\s*[#]?|-){0,1}([0-9a-fA-F]{5,})\b" replacePattern="<a href='https://github.com/gitblit/gitblit/commit/$3'>commit $3</a>" /> | ||||
</structure> | </structure> | ||||
<replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" /> | <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" /> | ||||
<replace token="%DOCKERURL%" value="${docker.url}" /> | |||||
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" /> | <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" /> | ||||
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-success" href="%GCURL%gitblit-${project.releaseVersion}.tar.gz">Download Gitblit GO (Linux/OSX)</a></div> | <div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-success" href="%GCURL%gitblit-${project.releaseVersion}.tar.gz">Download Gitblit GO (Linux/OSX)</a></div> | ||||
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-danger" href="%GCURL%gitblit-${project.releaseVersion}.war">Download Gitblit WAR</a></div> | <div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-danger" href="%GCURL%gitblit-${project.releaseVersion}.war">Download Gitblit WAR</a></div> | ||||
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-primary" href="%GCURL%manager-${project.releaseVersion}.zip">Download Gitblit Manager</a></div> | <div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-primary" href="%GCURL%manager-${project.releaseVersion}.zip">Download Gitblit Manager</a></div> | ||||
<div style="padding:5px;"><a style="width:175px;text-decoration:none;" class="btn btn-info" href="%DOCKERURL%">Gitblit GO Docker image</a></div> | |||||
</div> | </div> | ||||
<div data-manifest="http://1c57d83a4c5f3a21ec25c050d4c5e37b.app.jelastic.com/xssu/cross/download/RDYYHABkAFJbUVlMMVU7RUtDARgATExFCEBuGS4jdQJKRUsEDwIBQmNTTEBI" data-width="280" data-theme="flat-blue" data-text="Get it hosted now!" data-tx-empty="Type your email and click the button" data-tx-invalid-email="Invalid email, please check the spelling" data-tx-error="An error has occurred, please try again later" data-tx-success="Check your email" class="je-app" ></div> | <div data-manifest="http://1c57d83a4c5f3a21ec25c050d4c5e37b.app.jelastic.com/xssu/cross/download/RDYYHABkAFJbUVlMMVU7RUtDARgATExFCEBuGS4jdQJKRUsEDwIBQmNTTEBI" data-width="280" data-theme="flat-blue" data-text="Get it hosted now!" data-tx-empty="Type your email and click the button" data-tx-invalid-email="Invalid email, please check the spelling" data-tx-error="An error has occurred, please try again later" data-tx-success="Check your email" class="je-app" ></div> | ||||
<div style="padding-top:5px;"> | <div style="padding-top:5px;"> |