X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Fall%2Frelease.subr;h=ffb6f5842f33e4c7681511a918a442a89e06c5ad;hp=2ddf9016108f02cefeb784569ade8f779c9d6c5a;hb=3fc01417ed56f28df9546cd44f6e3575a81a1be2;hpb=1c2912ca31ce8ed87a1793d06f377e20d22f7895 diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index 2ddf9016..ffb6f584 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -207,11 +207,12 @@ 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##*:}" + verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "$binary" ;; esac ;;