]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/release.subr
x64 is the new default. Let x86 get the odd name instead then.
[xonotic/xonotic.git] / misc / tools / all / release.subr
index fecf2d67b6ee8a96045171a6d910a639ff7f9ede..3fcbb63e2338acdb9fc2c72965869b72e5807782 100644 (file)
@@ -207,8 +207,9 @@ case "$cmd" in
                release_common
                binary=$1
                basename=${binary##*/}
+               dpname=darkplaces${basename#xonotic}
                rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )`
-               verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$basename"
+               verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$dpname"
                [ -s "$binary" ] || rm -f "$binary"
                [ -f "$binary" ]
                # TODO eventually do the rebranding on travis too.
@@ -224,17 +225,17 @@ case "$cmd" in
        release-engine-win32)
                release_common
                good=true
-               verbose "$SELF" release-getbinary Xonotic/xonotic.exe || good=false
-               verbose "$SELF" release-getbinary Xonotic/xonotic-sdl.exe || good=false
-               verbose "$SELF" release-getbinary Xonotic/xonotic-dedicated.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-x86.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-x86-wgl.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-x86-dedicated.exe || good=false
                $good
                ;;
        release-engine-win64)
                release_common
                good=true
-               verbose "$SELF" release-getbinary Xonotic/xonotic-x64.exe || good=false
-               verbose "$SELF" release-getbinary Xonotic/xonotic-x64-sdl.exe || good=false
-               verbose "$SELF" release-getbinary Xonotic/xonotic-x64-dedicated.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-wgl.exe || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-dedicated.exe || good=false
                $good
                ;;
        release-engine-osx)
@@ -247,16 +248,16 @@ case "$cmd" in
        release-engine-linux32)
                release_common
                good=true
-               verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-glx || good=false
                verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-sdl || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-glx || good=false
                verbose "$SELF" release-getbinary Xonotic/xonotic-linux32-dedicated || good=false
                $good
                ;;
        release-engine-linux64)
                release_common
                good=true
-               verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-glx || good=false
                verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-sdl || good=false
+               verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-glx || good=false
                verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-dedicated || good=false
                $good
                ;;