6 # I use this in EVERY shell script ;)
11 while ! [ -f ./all ]; do
12 if [ x"`pwd`" = x"/" ]; then
13 echo "Cannot find myself."
14 echo "Please run this script with the working directory inside a Xonotic checkout."
22 # If we are on WINDOWS:
27 # Windows hates users. So this script has to copy itself elsewhere first...
28 cp "$SELF" ../all.xonotic.sh
29 export WE_HATE_OUR_USERS=1
30 exec ../all.xonotic.sh "$@"
41 self=`git hash-object "$SELF"`
44 self_new=`git hash-object "$SELF"`
45 if [ x"$self" != x"$self_new" ]; then
46 msg "./all has changed."
47 if [ -z "$XONOTIC_FORBID_RERUN_ALL" ]; then
48 msg "Rerunning the requested operation to make sure."
49 export XONOTIC_FORBID_RERUN_ALL=1
52 msg "Please try $SELF update, and then retry your requested operation."
69 echo "the root directory"
79 if git ls-files -u | grep ' 1 '; then
81 echo "MERGE CONFLICT."
82 echo "change into the \"$1\" project directory, and then:"
83 echo "- edit the files mentioned above with your favorite editor,"
84 echo " and fix the conflicts (marked with <<<<<<< blocks)"
85 echo "- for binary files, you can select the files using"
86 echo " git checkout --ours or git checkout --theirs"
87 echo "- when done with a file, 'git add' the file"
88 echo "- when done, 'git commit'"
97 while [ x"$yesno" != x"y" -a x"$yesno" != x"n" ]; do
108 check_mergeconflict "$1"
113 data/xonotic-data.pk3dir | | master |
114 data/xonotic-maps.pk3dir | | master |
115 data/xonotic-music.pk3dir | | master |
116 data/xonotic-nexcompat.pk3dir | | master |
117 mediasource | | master |
118 darkplaces | | div0-stable | svn
119 fteqcc | git://github.com/Blub/qclib.git | master |
120 div0-gittools | git://git.icculus.org/divverent/div0-gittools.git | master |
121 netradiant | | master |
123 # todo: in darkplaces, change repobranch to div0-stable
125 repos=`echo "$repos_urls" | grep . | cut -d '|' -f 1 | tr -d ' '`
127 base=`git config remote.origin.url`
130 base=${base%xonotic.git}
133 echo "The main repo is not xonotic.git, what have you done?"
140 repo_t=`echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 2 | tr -d ' '`
141 if [ -n "$repo_t" ]; then
151 if [ x"$1" = x"." ]; then
152 echo "$base""xonotic.git"
154 echo "$base${1##*/}.git"
161 repo_t=`echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 3 | tr -d ' '`
162 if [ -n "$repo_t" ]; then
171 echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 4 | tr -d ' '
174 repos=`for d in $repos; do
176 if [ x"$p" = x"$d" ] || [ -d "$d" ] || ! { [ -f "$d.no" ] || [ -f "$p" ]; }; then
181 if [ "$#" = 0 ]; then
190 if [ x"$1" = x"-N" ]; then
195 branch=`repobranch "$d"`
196 if [ -d "$d0/$d" ]; then
198 enter "$d0/$d" verbose
199 verbose git config remote.origin.url "$url"
200 verbose git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
202 r=`git symbolic-ref HEAD`
204 if git config branch.$r.remote >/dev/null 2>&1; then
205 if ! verbose git pull; then
206 check_mergeconflict "$d"
207 echo "Pulling failed. Press ENTER to continue, or Ctrl-C to abort."
213 checkself "$cmd" "$@"
215 verbose git remote prune origin
219 verbose git clone "$url" "$d0/$d"
220 enter "$d0/$d" verbose
221 if [ "$branch" != "master" ]; then
222 verbose git checkout --track -b "$branch" origin/"$branch"
229 misc/tools/xonotic-map-compiler-autobuild download
234 if [ -z "$branch" ]; then
237 branch=${remote#origin/}
248 enter "$d0/$d" verbose
250 if [ -n "$b" ] && git rev-parse "refs/heads/$b" >/dev/null 2>&1; then
252 verbose git checkout "$b"
253 elif [ -n "$b" ] && git rev-parse "refs/remotes/$remote/$b" >/dev/null 2>&1; then
255 verbose git checkout --track -b "$b" "$remote/$b"
258 if git rev-parse "refs/heads/$b" >/dev/null 2>&1; then
260 verbose git checkout "$b"
261 elif git rev-parse "refs/remotes/$remote/$b" >/dev/null 2>&1; then
263 verbose git checkout --track -b "$b" "$remote/$b"
265 echo "WTF? Not even branch $b doesn't exist in $d"
270 checkself "$cmd" "$@"
274 echo "The requested branch was not found in any repository."
282 if [ -z "$branch" ]; then
286 if [ -z "$branch" ]; then
289 r=`git symbolic-ref HEAD`
296 dv=`visible_repo_name "$d"`
297 enter "$d0/$d" verbose
298 if git rev-parse "refs/heads/$branch" >/dev/null 2>&1; then
299 echo "Already having this branch in $dv."
301 if yesno "Branch in $dv?"; then
302 if [ -n "$srcbranch" ]; then
305 b=origin/"`repobranch "$d"`"
306 verbose git fetch origin || true
308 # TODO do this without pushing
309 verbose git checkout -b "$branch" "$b"
310 verbose git config "branch.$branch.remote" "$remote"
311 verbose git config "branch.$branch.merge" "refs/heads/$branch"
321 cd "$d0/$d" # am in a pipe, shouldn't use enter
322 git branch -a -v -v | cut -c 3- | sed "s,^,$d ,"
327 while read -r d BRANCH REV UPSTREAM TEXT; do
328 if [ x"$BRANCH" = x"`repobranch "$d"`" ]; then
333 UPSTREAM=${UPSTREAM#\[}
334 UPSTREAM=${UPSTREAM%\]}
335 UPSTREAM=${UPSTREAM%:*}
338 TEXT="$UPSTREAM $TEXT"
342 if [ x"$REV" = x"->" ]; then
345 BRANCH=${BRANCH#remotes/}
346 ID=`echo "$BRANCH" | tr -c "A-Za-z0-9." "_"`
347 branches_list="$branches_list $BRANCH" # TEH SORT MAKEZ IT UNIEQ
348 eval "r=\$branches_repos_$ID"
357 eval "branches_repos_$ID=\$r"
359 echo -n "$branches_list" | xargs -n 1 echo | sort -u | while IFS= read -r BRANCH; do
360 ID=`echo "$BRANCH" | tr -c "A-Za-z0-9." "_"`
361 eval "r=\$branches_repos_$ID"
362 printf "%-60s %s\n" "$BRANCH" "$r"
369 dv=`visible_repo_name "$d"`
370 enter "$d0/$d" verbose
371 r=`git symbolic-ref HEAD`
373 if git log HEAD..origin/"`repobranch "$d"`" | grep .; then
374 # we have uncommitted changes
375 if yesno "Could merge from \"`repobranch "$d"`\" into \"$r\" in $dv. Do it?"; then
376 if ! verbose git merge origin/"`repobranch "$d"`"; then
377 check_mergeconflict "$d"
378 exit 1 # this should ALWAYS be fatal
388 dv=`visible_repo_name "$d"`
389 enter "$d0/$d" verbose
390 r=`git symbolic-ref HEAD`
392 diffdata=`git diff --color HEAD`
393 if [ -n "$diffdata" ]; then
394 # we have uncommitted changes
395 if yesno "Uncommitted changes in \"$r\" in $dv. Commit?" 'echo "$diffdata" | less -r'; then
396 verbose git commit -a
399 rem=`git config "branch.$r.remote" || echo origin`
400 bra=`git config "branch.$r.merge" || echo "$r"`
401 upstream="$rem/${bra#refs/heads/}"
402 if ! git rev-parse "$upstream" >/dev/null 2>&1; then
403 upstream="origin/`repobranch "$d"`"
405 logdata=`git log --color "$upstream".."$r"`
406 if [ -n "$logdata" ]; then
407 if yesno "Push \"$r\" in $dv?" 'echo "$logdata" | less -r'; then
408 verbose git push "$rem" HEAD
411 if [ x"$submit" = x"-s" ]; then
414 verbose git push "$rem" HEAD:"${bra%%/*}/finished/${bra#*/}"
422 if [ -n "$WE_HATE_OUR_USERS" ]; then
423 TARGETS="sv-debug cl-debug"
424 if [ -z "$CC" ]; then
427 elif [ x"`uname`" = x"Darwin" ]; then
430 TARGETS="sv-debug cl-debug sdl-debug"
433 # AGL cannot be compiled on systems with a kernel > 10.x (Snow Leopard)
434 TARGETS="sv-debug sdl-debug"
437 export CC="gcc -I$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks/SDL.framework/Headers -F$PWD/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks"
439 TARGETS="sv-debug cl-debug sdl-debug"
457 cleanqc=true # version info
465 TARGETS="sdl-debug $TARGETS"
468 TARGETS="cl-debug $TARGETS"
471 TARGETS="sv-debug $TARGETS"
477 if [ -z "$MAKEFLAGS" ]; then
478 if [ -f /proc/cpuinfo ]; then
479 ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0))
480 if [ $ncpus -gt 1 ]; then
486 MAKEFLAGS="$MAKEFLAGS DP_LINK_TO_LIBJPEG=1"
489 if [ -n "$WE_HATE_OUR_USERS" ]; then
490 MAKEFLAGS="$MAKEFLAGS DP_MAKE_TARGET=mingw"
494 enter "$d0/fteqcc" verbose
496 verbose make $MAKEFLAGS clean
498 verbose make $MAKEFLAGS
500 enter "$d0/data/xonotic-data.pk3dir" verbose
502 verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" "$@" $MAKEFLAGS clean
504 verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" "$@" $MAKEFLAGS
506 enter "$d0/darkplaces" verbose
508 verbose make $MAKEFLAGS clean
510 for T in $TARGETS; do
511 verbose make $MAKEFLAGS "$@" "$T"
514 verbose "$SELF" update-maps
517 if [ -n "$WE_HATE_OUR_USERS" ]; then
519 export PATH="$d0/misc/buildfiles/w32:$PATH"
520 elif [ x"`uname`" = x"Darwin" ]; then
521 export DYLD_LIBRARY_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/MacOS"
522 export DYLD_FRAMEWORK_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/Frameworks"
528 sdl|glx|agl|dedicated)
537 if ! [ -x "darkplaces/darkplaces$client" ]; then
538 if [ -x "darkplaces/darkplaces$client.exe" ]; then
541 echo "Client darkplaces/darkplaces$client not found, aborting"
545 set -- "darkplaces/darkplaces$client" -nexuiz -customgamename Xonotic -customgamedirname1 data -customgamedirname2 "" -customgamescreenshotname xonotic -customgameuserdirname xonotic -mygames "$@"
547 # if pulseaudio is running: USE IT
548 if [ -z "$SDL_AUDIODRIVER" ] && ! [ -n "$WE_HATE_OUR_USERS" ] && ! [ x"`uname`" = x"Darwin" ]; then
549 if ps -C pulseaudio >/dev/null; then
550 if ldd /usr/lib/libSDL.so 2>/dev/null | grep pulse >/dev/null; then
551 export SDL_AUDIODRIVER=pulse
556 if [ -n "$USE_GDB" ]; then
557 set -- gdb --args "$@"
563 if [ x"$1" = x"-k" ]; then
568 if verbose cd "$d0/$d"; then
580 patchdir=`mktemp -d -t save-patches.XXXXXX`
582 enter "$d0/$d" verbose
583 git branch -v -v | cut -c 3- | {
585 while read -r BRANCH REV UPSTREAM TEXT; do
588 UPSTREAM=${UPSTREAM#\[}
589 UPSTREAM=${UPSTREAM%\]}
590 UPSTREAM=${UPSTREAM%:*}
594 UPSTREAM=origin/"`repobranch "$d"`"
598 if [ x"$REV" = x"->" ]; then
601 if git format-patch -o "$patchdir/$i" "$UPSTREAM".."$BRANCH"; then
602 echo "$d" > "$patchdir/$i/info.txt"
603 echo "$BRANCH" >> "$patchdir/$i/info.txt"
604 echo "$UPSTREAM" >> "$patchdir/$i/info.txt"
605 echo "$TRACK" >> "$patchdir/$i/info.txt"
608 rm -rf "$patchdir/$i"
613 ( cd "$patchdir" && tar cvzf - . ) > "$outfile"
618 patchdir=`mktemp -d -t restore-patches.XXXXXX`
619 ( cd "$patchdir" && tar xvzf - ) < "$infile"
621 for P in "$patchdir"/*/info.txt; do
628 verbose git checkout HEAD^0
629 verbose git branch -D "$BRANCH"
630 if [ x"$TRACK" = x"true" ]; then
631 verbose git checkout --track -b "$BRANCH" "$UPSTREAM"
633 verbose git branch -b "$BRANCH" "$UPSTREAM"
645 report=$report"$*$LF"
650 report=$report" $*$LF"
655 o=`"$@" | sed 's/^/ /' || true`
659 enter "$d0/$d" verbose
660 base="`repobranch "$d"`"
662 for ref in `git for-each-ref --format='%(refname)' refs/remotes/origin/`; do
663 case "${ref#refs/remotes/origin/}" in
676 if [ -n "$branch" ]; then
677 if [ x"$branch" != x"${ref#refs/remotes/origin/}" ]; then
686 l0=`git rev-list "$base".."$ref" | wc -l`
687 l1=`git rev-list master.."$ref" | wc -l`
688 if [ $l0 -gt $l1 ]; then
695 reportecho " Branch $ref:"
696 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
697 logdata=`git log --color "$realbase".."$ref"`
698 if [ -z "$logdata" ]; then
699 reportecho4 "--> not merging, no changes vs master"
700 if yesno "Branch \"$ref\" probably should get deleted. Do it?" ''; then
701 git push origin :"${ref#refs/remotes/origin/}"
702 reportecho4 "--> branch deleted"
705 diffdata=`git diff --color --find-copies-harder --ignore-space-change "$realbase"..."$ref"`
706 if [ -z "$diffdata" ]; then
707 reportecho4 "--> not merging, no changes vs master, branch contains redundant history"
708 if yesno "Branch \"$ref\" probably should get deleted. Do it?" '{ echo "$logdata"; } | less -r'; then
709 git push origin :"${ref#refs/remotes/origin/}"
710 reportecho4 "--> branch deleted"
712 elif [ -n "$note" ]; then
713 reportdo4 echo "$note"
714 reportecho4 "--> not merging, already had this one rejected before"
715 elif yesno "Branch \"$ref\" may want to get merged. Do it?" '{ echo "$logdata"; echo "$diffdata"; } | less -r'; then
716 git checkout "$realbase"
717 org=`git rev-parse HEAD`
718 if ! git merge "$ref" 2>&1 | tee "$t" && ! { git ls-files -u | grep ' 1 ' >/dev/null; }; then
719 git reset --hard "$org"
720 GIT_NOTES_REF=refs/notes/admin-merge git notes edit -m "Merge failed:$LF`cat "$t"`" "$ref"
722 reportecho4 "--> merge failed"
723 elif ! "$SELF" compile -n 2>&1 | tee "$t"; then
724 git reset --hard "$org"
725 GIT_NOTES_REF=refs/notes/admin-merge git notes edit -m "Compile failed:$LF`cat "$t"`" "$ref"
727 reportecho4 "--> compile failed"
728 elif ! yesno "Still merge \"$ref\" into `git symbolic-ref HEAD` of $d? Maybe you want to test first."; then
729 git reset --hard "$org"
730 git notes edit "$ref"
731 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
732 if [ x"$note" = x"del" ]; then
733 git push origin :"${ref#refs/remotes/origin/}"
734 reportecho4 "--> test failed, branch deleted"
735 elif [ -n "$note" ]; then
736 reportdo4 echo "$note"
737 reportecho4 "--> test failed"
739 reportecho4 "--> test failed, postponed"
743 case ",`repoflags "$d"`," in
745 # we do quite a mess here... luckily we know $org
746 git fetch # svn needs to be current
747 git rebase -i --onto origin/master "$org"
748 git svn dcommit --add-author-from
749 git reset --hard "$org"
755 reportecho4 "--> MERGED"
756 if yesno "Delete original branch \"$ref\"?"; then
757 git push origin :"${ref#refs/remotes/origin/}"
758 reportecho4 "--> branch deleted"
762 GIT_NOTES_REF=refs/notes/admin-merge git notes edit "$ref"
763 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
764 if [ x"$note" = x"del" ]; then
765 git push origin :"${ref#refs/remotes/origin/}"
766 reportecho4 "--> branch deleted"
767 elif [ -n "$note" ]; then
768 reportdo4 echo "$note"
769 reportecho4 "--> rejected"
771 reportecho4 "--> postponed"
780 echo "$report" | ssh nexuiz@rm.endoftheinternet.org cat '>>' public_html/xonotic-merge-notes.txt
783 # release building goes here
785 mkdir -p Xonotic/"$1"
788 #"$SELF" each git clean -fxd
790 "$SELF" release-copy Docs/
791 "$SELF" release-copy misc/
792 "$SELF" release-copy server/
793 "$SELF" release-copy xonotic-linux-glx.sh
794 "$SELF" release-copy xonotic-linux-sdl.sh
795 "$SELF" release-mkdir data
796 "$SELF" release-mkdir fteqcc
799 rsync --exclude=.git -vaSHPAX "$1" Xonotic/"$1"
808 rsync --delete -zvaSHPAX "$srcdir"/ "$host:$buildpath/"
809 ssh "$host" ". ~/.profile && cd $buildpath && make clean $maketargets $makeflags"
810 for f in $targetfiles; do
811 rsync -zvaSHPAX "$host:$buildpath/${f%:*}" "${f##*:}"
817 fteqcc_maketargets=$3
819 darkplaces_maketargets=$5
821 "$SELF" release-compile-run "xonotic-build-$suffix" /tmp/fteqcc.build."$suffix" "$fteqcc_maketargets" "$makeflags" "fteqcc" "$fteqcc_files"
822 "$SELF" release-compile-run "xonotic-build-$suffix" /tmp/Darkplaces.build."$suffix" "$darkplaces_maketargets" "$makeflags" "fteqcc" "$darkplaces_files"
824 release-engine-win32)
825 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/w32/* Xonotic/
826 "$SELF" release-compile win32 \
827 '"DP_MAKE_TARGET=mingw CC="i586-mingw32msvc-gcc -Wl,--dynamicbase -Wl,--nxcompat -g -DSUPPORTDIRECTX -DUSE_WSPIAPI_H -I$HOME/dp.win32/include -L$HOME/db.win32/lib" WINDRES="i586-mingw32msvc-windres" SDL_CONFIG="$HOME/dp.win32/bin/sdl-config"' \
828 win 'fteqcc.exe:Xonotic/fteqcc/fteqcc.exe' \
829 debug 'darkplaces.exe:xonotic.exe darkplaces-sdl.exe:xonotic-sdl.exe darkplaces-dedicated.exe:xonotic-dedicated.exe'
831 release-engine-win64)
832 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/w32/* Xonotic/
833 "$SELF" release-compile win32 \
834 '"DP_MAKE_TARGET=mingw CC="amd64-mingw32msvc-gcc -Wl,--dynamicbase -Wl,--nxcompat -g -DSUPPORTDIRECTX -DUSE_WSPIAPI_H -I$HOME/dp.win64/include -L$HOME/db.win64/lib" WINDRES="amd64-mingw32msvc-windres" SDL_CONFIG="$HOME/dp.win64/bin/sdl-config"' \
835 win 'fteqcc.exe:Xonotic/fteqcc/fteqcc.exe' \
836 debug 'darkplaces.exe:xonotic-64.exe darkplaces-sdl.exe:xonotic-sdl-64.exe darkplaces-dedicated.exe:xonotic-dedicated-64.exe'
839 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/osx/* Xonotic/
840 "$SELF" release-compile osx \
841 'CC="gcc -g -arch i386 -arch ppc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I$HOME/dp.osx/include -L$HOME/dp.osx/lib"' \
842 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.osx' \
843 sdl-debug 'darkplaces-sdl:Xonotic/Xonotic-SDL.app/Contents/MacOS/xonotic-osx-sdl-bin'
845 release-engine-linux32)
846 "$SELF" release-compile linux32 \
847 'CC="gcc -m32 -g -Wl,--hash-style=sysv -I$HOME/dp.linux32/include -L$HOME/dp.linux32/lib" DP_MODPLUG_STATIC_LIBDIR=$HOME/dp.linux32/lib DP_LINK_TO_LIBJPEG=1' \
848 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.linux32' \
849 debug 'darkplaces-glx:Xonotic/xonotic-linux-linux32-glx darkplaces-sdl:Xonotic/xonotic-linux-linux32-sdl darkplaces-dedicated:Xonotic/xonotic-linux-linux32-dedicated'
851 release-engine-linux64)
852 "$SELF" release-compile linux64 \
853 'CC="gcc -m64 -g -Wl,--hash-style=sysv -I$HOME/dp.linux64/include -L$HOME/dp.linux64/lib" DP_MODPLUG_STATIC_LIBDIR=$HOME/dp.linux64/lib DP_LINK_TO_LIBJPEG=1' \
854 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.linux64' \
855 debug 'darkplaces-glx:Xonotic/xonotic-linux-linux64-glx darkplaces-sdl:Xonotic/xonotic-linux-linux64-sdl darkplaces-dedicated:Xonotic/xonotic-linux-linux64-dedicated'
858 "$SELF" release-engine-win32 &
859 "$SELF" release-engine-win64 &
860 "$SELF" release-engine-osx &
861 "$SELF" release-engine-linux32 &
862 "$SELF" release-engine-linux64 &
867 for X in data/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do
869 cd Xonotic/data/xonotic-maps.pk3dir
876 # version numnber and stuff like that
879 verbose make -C Xonotic/data/xonotic-data.pk3dir FTEQCC="$d0/Xonotic/fteqcc/fteqcc.linux32" FTEQCCFLAGS_WATERMARK=
881 release-buildpk3-transform-raw)
884 release-buildpk3-transform-normal)
887 # texture: convert to jpeg and dds
889 export jpeg_qual_rgb=95
890 export jpeg_qual_a=99
894 find textures -type f -print0 | xargs -0 "$d0"/misc/tools/cached-converter.sh
896 release-buildpk3-transform-low)
899 # texture: convert to jpeg and dds
900 # music: reduce bitrate
902 export jpeg_qual_rgb=95
903 export jpeg_qual_a=99
907 find textures sound/cdtracks -type f -print0 | xargs -0 "$d0"/misc/tools/cached-converter.sh
921 rsync --exclude=.git -vaSHPAX "$src"/ "Xonotic/temp"
922 "$SELF" release-buildpk3-transform-$transform "Xonotic/temp"
924 zip -9r "../../$dst" . ########### 7za a -tzip -mx=9 "../../$dst" .
931 while [ "$#" -gt 1 ]; do
932 "$SELF" release-buildpk3 "$src" "Xonotic/${src%.pk3dir}$2.pk3" "$1"
938 "$SELF" release-buildpk3s data/font-dejavu.pk3dir raw ''
939 "$SELF" release-buildpk3s data/xonotic-data.pk3dir normal '' raw '-raw' low '-low'
940 "$SELF" release-buildpk3s data/xonotic-maps.pk3dir normal '' raw '-raw' low '-low'
941 "$SELF" release-buildpk3s data/xonotic-music.pk3dir normal '' raw '-raw' low '-low'
942 "$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir low ''
945 "$SELF" release-prepare
947 "$SELF" release-finish
950 "$SELF" release-engine
956 echo " $SELF push [-s]"
957 echo " $SELF branches"
958 echo " $SELF branch [<remote>] <branchname>"
959 echo " $SELF branch <remote> <branchname> <srcbranchname>"
960 echo " $SELF checkout [<remote>] <branchname>"
961 echo " $SELF compile [-c|-n] [<client>] <options>"
962 echo " $SELF run [<client>] <options>"
963 echo " $SELF each <command>"