]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/release.subr
Pass the input path.
[xonotic/xonotic.git] / misc / tools / all / release.subr
index fecf2d67b6ee8a96045171a6d910a639ff7f9ede..4bbb0ec718f69ea6b6694b65fe625b92ae18eea3 100644 (file)
@@ -207,15 +207,12 @@ 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.
                case "$binary" in
-                       Xonotic/xonotic*.exe)
-                               verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "$binary"
-                               ;;
                        Xonotic/*osx*|Xonotic/*linux*)
                                chmod +x "$binary"
                                ;;
@@ -224,17 +221,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 +244,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
                ;;
@@ -446,6 +443,7 @@ case "$cmd" in
                                verbose "$d0"/mediasource/gfx/menu/luminos_versionbuilder/versionbuilder "$versionstr"
                                verbose rm background_l2.svg
                        )
+                       verbose "$d0"/mediasource/gfx/luma/render-version.sh "$d0/mediasource/gfx/luma" "$PWD" "$versionstr"
                fi
                if [ x"$src" = x"data/xonotic-maps.pk3dir" ]; then
                        for X in ../../data/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do
@@ -489,6 +487,7 @@ case "$cmd" in
                ;;
        release-pack)
                release_common
+               verbose "$SELF" release-buildpk3s data/font-unifont.pk3dir      raw ''
                verbose "$SELF" release-buildpk3s data/font-xolonium.pk3dir     raw ''
                verbose "$SELF" release-buildpk3s data/xonotic-data.pk3dir             low '-low' normaldds ''                    normal '-high'
                verbose "$SELF" release-buildpk3s data/xonotic-maps.pk3dir             low '-low' normaldds '' mapping '-mapping' normal '-high'
@@ -536,6 +535,7 @@ case "$cmd" in
                                Xonotic/gmqcc \
                                Xonotic/server \
                                Xonotic/key_0.d0pk \
+                               Xonotic/data/font-unifont-$pk3stamp.pk3 \
                                Xonotic/data/font-xolonium-$pk3stamp.pk3
                        verbose cp Xonotic-$stamp-enginesource$suffix.zip Xonotic-$stamp-source$suffix.zip
                        verbose mkzip Xonotic-$stamp-source$suffix.zip \