\r
<!-- Set Ant project properties -->\r
<property name="release.tag" value="v${project.version}" />\r
+ <property name="currentRelease.tag" value="v${project.releaseVersion}" />\r
<property name="release.name" value="gitblit-${project.version}"/>\r
<property name="distribution.zipfile" value="${release.name}.zip" />\r
<property name="distribution.tgzfile" value="${release.name}.tar.gz" />\r
<property name="maven.directory" value="${basedir}/../gitblit-maven" />\r
<property name="releaselog" value="${basedir}/releases.moxie" />\r
\r
+ <!-- GitHub user/organization name -->\r
+ <property name="gh.org" value="fzs" />\r
\r
<!-- Download links -->\r
- <property name="gc.url" value="http://dl.bintray.com/gitblit/releases/" />\r
+ <property name="gc.url" value="https://github.com/${gh.org}/gitblit/releases/download/" />\r
\r
<!-- Report Java version -->\r
<echo>JDK version: ${ant.java.version}</echo>\r
</menu>\r
\r
<menu name="downloads">\r
- <link name="Gitblit GO (Windows)" src="${gc.url}gitblit-${project.releaseVersion}.zip" />\r
- <link name="Gitblit GO (Linux/OSX)" src="${gc.url}gitblit-${project.releaseVersion}.tar.gz" />\r
- <link name="Gitblit WAR" src="${gc.url}gitblit-${project.releaseVersion}.war" />\r
+ <link name="Gitblit GO (Windows)" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.zip" />\r
+ <link name="Gitblit GO (Linux/OSX)" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.tar.gz" />\r
+ <link name="Gitblit WAR" src="${gc.url}${currentRelease.tag}/gitblit-${project.releaseVersion}.war" />\r
<divider />\r
<link name="Gitblit GO (Docker)" src="https://registry.hub.docker.com/u/jmoger/gitblit/" />\r
<divider />\r
<link name="Plugins Registry" src="http://plugins.gitblit.com" />\r
<divider />\r
- <link name="Gitblit Manager" src="${gc.url}manager-${project.releaseVersion}.zip" />\r
- <link name="Federation Client" src="${gc.url}fedclient-${project.releaseVersion}.zip" />\r
+ <link name="Gitblit Manager" src="${gc.url}${currentRelease.tag}/manager-${project.releaseVersion}.zip" />\r
+ <link name="Federation Client" src="${gc.url}${currentRelease.tag}/fedclient-${project.releaseVersion}.zip" />\r
<divider />\r
- <link name="API Library" src="${gc.url}gbapi-${project.releaseVersion}.zip" />\r
+ <link name="API Library" src="${gc.url}${currentRelease.tag}/gbapi-${project.releaseVersion}.zip" />\r
<divider />\r
- <link name="Bintray (1.4.0+)" src="https://bintray.com/gitblit/releases/gitblit" />\r
+ <link name="GitHub (1.9.0+)" src="https://github.com/${gh.org}/gitblit/releases" />\r
+ <link name="Bintray (1.4.0-1.8.0)" src="https://bintray.com/gitblit/releases/gitblit" />\r
<link name="GoogleCode (pre-1.4.0)" src="https://code.google.com/p/gitblit/downloads/list?can=1" />\r
<divider />\r
<link name="Maven Repository" src="${project.mavenUrl}" />\r
<divider />\r
</structure>\r
\r
- <replace token="%GCURL%" value="${gc.url}" />\r
+ <replace token="%GCURL%" value="${gc.url}${currentRelease.tag}/" />\r
\r
<properties token="%PROPERTIES%" file="${project.distrib.dir}/data/defaults.properties" />\r
\r