]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Fix the downloading.
authorRudolf Polzer <divverent@xonotic.org>
Wed, 27 Aug 2014 11:02:42 +0000 (13:02 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 27 Aug 2014 11:02:42 +0000 (13:02 +0200)
misc/tools/all/release.subr

index 2ddf9016108f02cefeb784569ade8f779c9d6c5a..559e026af64148edd61c2f1cf41f0eabe4a3dde8 100644 (file)
@@ -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##*:}"