chiark / gitweb /
add variables for urls in upload page and set version to 0.9.1
[ypp-sc-tools.main.git] / yarrg / web / upload
index 5eff2c476b623a40d1759f289caf2b3229305566..0cd7f702f563d0cc8ab1175c4a280fd6989df656 100755 (executable)
 
 </%doc>
 <& docshead &>
+<%perl>
+my $download_version= '0.9.1';
+my $url_base= 'http://yarrg.chiark.net/download/jpctb/'.$download_version;
+</%perl>
 <h1>Uploading to YARRG</h1>
 <p>
 
@@ -84,7 +88,7 @@ report the problem to us, not to Three Rings.
 <h3>Installing and running on Linux</h3>
 
 Download
-<a href="http://yarrg.chiark.net/download/jpctb/test/jpctb.tar.gz">http://yarrg.chiark.net/download/jpctb/test/jpctb.tar.gz</a>
+<a href="<% $url_base %>/jpctb.tar.gz"><% $url_base %>/jpctb.tar.gz</a>
 and unpack it.  You run it from the command line.  Change
 to the directory where you unpacked the tarball above, and then run
 <pre>
@@ -97,7 +101,7 @@ ordinary Puzzle Pirates startup script, which is normally
 <h3>Installing on Windows</h3>
 
 Download
-<a href="http://yarrg.chiark.net/download/jpctb/test/jpctb-setup.exe">http://yarrg.chiark.net/download/jpctb/test/jpctb-setup.exe</a>
+<a href="<% $url_base %>/jpctb-setup.exe"><% $url_base %>/jpctb-setup.exe</a>
 and double-click on it.  It will either:
 <ol>
 <li>Just work, in which case you'll have a new icon on your desktop which
@@ -170,7 +174,7 @@ the MIT-style two-clause licence.
 <p>
 
 The source code for the downloadable released binaries is in the
-<a href="http://yarrg.chiark.net/download/jpctb/test/jpctb.tar.gz">Linux
+<a href="<% $url_base %>/jpctb.tar.gz">Linux
 tarball</a>.  We maintain YARRG JPCTB in git, and you can get
 source code for recent and perhaps unreleased versions from
 <code>git://git.yarrg.chiark.net/jpctb.git</code>.