binary=$1
basename=${binary##*/}
rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )`
- verbose wget "http://beta.xonotic.org/autobuild-bin/$rev/$basename"
+ verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$basename"
+ [ -s "$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"
+ ;;
esac
;;
release-engine-win32)
release-pack)
release_common
verbose "$SELF" release-buildpk3s data/font-xolonium.pk3dir raw ''
- verbose "$SELF" release-buildpk3s data/xonotic-data.pk3dir low '-low' normaldds '' webp '-high'
- verbose "$SELF" release-buildpk3s data/xonotic-maps.pk3dir low '-low' normaldds '' mapping '-mapping' webp '-high'
+ 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'
verbose "$SELF" release-buildpk3s data/xonotic-music.pk3dir raw '' low '-low'
verbose "$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir normaldds ''
;;