From: Rudolf Polzer Date: Wed, 27 Aug 2014 11:02:42 +0000 (+0200) Subject: Fix the downloading. X-Git-Tag: xonotic-v0.8.0~26 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bade3e94e5620d42d328962b80d5c7d72ddfccfe;p=xonotic%2Fxonotic.git Fix the downloading. --- diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index 2ddf9016..559e026a 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -207,8 +207,9 @@ case "$cmd" in release_common binary=$1 basename=${binary##*/} - verbose wget http://beta.xonotic.org/autobuild-bin/$rev/$binary - # TODO eventually do this on travis too. + rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )` + verbose wget "http://beta.xonotic.org/autobuild-bin/$rev/$basename" + # TODO eventually do the rebranding on travis too. case "$binary" in Xonotic/xonotic*.exe) verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "${f##*:}"