5 if [ -z "$MAKEFLAGS" ]; then
6 ncpus=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null || echo 1`
7 if [ $ncpus -gt 1 ]; then
8 export MAKEFLAGS=-j$ncpus
12 release_args="$cmd $*"
13 msg "*** $release_args: start"
14 release_starttime=`date +%s`
17 release_endtime=`date +%s`
18 release_deltatime=$(($release_endtime - $release_starttime))
19 msg "*** $release_args: $release_deltatime seconds"
22 release_tempstarttime=$release_starttime
25 release_endtime=`date +%s` # RELEASE NOW!!!
27 release_deltatime=$(($release_endtime - $release_tempstarttime))
28 msg "**** $release_args: $*: $release_deltatime seconds"
30 release_tempstarttime=$release_endtime
32 release_git_extract_dir()
36 # try to create a hardlink
37 if ln -f "$release_src/.git/HEAD" "$release_dst/.hardlink-test"; then
38 rm -f "$release_dst/.hardlink-test"
39 git -C "$release_src" ls-files HEAD -- "$@" |
40 while IFS= read -r F; do
41 case "$F" in */*) mkdir -p "$release_dst/${F%/*}" ;; esac
42 verbose ln -f "$release_src/$F" "$release_dst/$F"
44 git -C "$release_src" ls-tree -rd --name-only HEAD -- "$@" |
45 while IFS= read -r D; do
46 touch -cr "$release_src/$D" "$release_dst/$D"
50 verbose cd "$release_src"
51 verbose git archive --format=tar HEAD -- "$@"
53 verbose cd "$release_dst"
63 # bones_was_here: 7za still doesn't store symlinks correctly (even with -snl)
64 # but it does now store the executable bit.
65 # compared to advzip, 7za achieves very similar final zip size, is multi threaded,
66 # and avoids https://gitlab.com/xonotic/xonotic/-/issues/371
70 # git restore-mtime replaces this hack:
71 #find "$@" -exec touch -d "2001-01-01 01:01:01 +0000" {} \+ # ugly hack to make the pk3 files rsync-friendly
73 find "$@" -xtype f \( -type l \) -print | sed 's,\([./][^./]*$\),\1 \1,' | sort -k2 | cut -d\ -f1 > "$ziplist"
74 7za a -tzip $sevenzipflags -x@"$ziplist" "$archive" "$@" || true
75 zip $zipflags -y -@<"$ziplist" "$archive" || true
81 # not using this currently, see above
84 zip $zipflags "$archive" "$@" || true
85 advzip -z -4 "$archive"
92 zip $zipflags "$archive" "$@" || true
97 gv=`grep "^gameversion " "$1/xonotic-common.cfg" | awk '{ print $2 }'`
98 major=$(($gv / 10000))
99 minor=$((($gv / 100) - ($major * 100)))
100 patch=$(($gv - ($major * 10000) - ($minor * 100)))
101 versionstr="$major.$minor.$patch"
107 # release building goes here
110 #"$SELF" each git clean -fxd
111 case "$RELEASETYPE" in
113 $ECHO >&2 -n "$ESC[2J$ESC[H"
120 msg " +---------------------------------------------------------.---+"
122 msg " +---------------------------------------------------------^---+"
124 msg " | / \ This is the official release build system. |"
125 msg " | | | If you are not a member of the Xonotic Core Team, |"
126 msg " | | STOP | you are not supposed to use this script and should |"
127 msg " | | | instead use ./all compile to compile the engine |"
128 msg " | \____/ and game code. |"
130 msg " | [ I understand ] |"
131 msg " +-------------------------------------------------------------+"
133 # A LOT of build infrastructure is required:
136 # - .ssh/config must be configured so the following
137 # host names are reachable and have a compile
138 # infrastructure set up:
139 # - xonotic-build-linux64 (with gcc on x86_64)
140 # - xonotic-build-win32 (with i686-w64-mingw32)
141 # - xonotic-build-win64 (with x86_64-w64-mingw32)
142 # - xonotic-build-osx (with Xcode and SDL.framework)
143 # - AMD Compressonator installed in WINE
144 # - ResEdit installed in WINE
145 # - a lot of other requirements you will figure out
146 # while reading the error messages
147 # - environment variable RELEASETYPE set
148 # - optionally, environment variable RELEASEDATE set
153 msg "Building a FINISHED RELEASE"
154 getversion data/xonotic-data.pk3dir
155 verbose "$SELF" each -k git tag -m "TEMP TAG" -f "xonotic-v$versionstr"
158 msg "Building a $RELEASETYPE"
161 verbose rm -rf Xonotic Xonotic*.zip
162 verbose mkdir -p Xonotic
163 if [ -n "$RELEASEDATE" ]; then
164 verbose $ECHO "$RELEASEDATE" > Xonotic/stamp.txt
165 case "$RELEASETYPE" in
167 verbose $ECHO "${RELEASEDATE%_*}" > Xonotic/pk3stamp.txt
170 verbose $ECHO "$RELEASEDATE" > Xonotic/pk3stamp.txt
174 verbose date +%Y%m%d > Xonotic/stamp.txt
175 verbose date +%Y%m%d > Xonotic/pk3stamp.txt
177 release_git_extract_dir "." "Xonotic" Docs misc/buildfiles/osx misc/logos misc/tools server xonotic-linux-sdl.sh xonotic-linux-dedicated.sh Makefile key_0.d0pk COPYING GPL-2 GPL-3
180 verbose mkdir data source source/darkplaces source/gmqcc source/d0_blind_id mapping
181 verbose mv misc/buildfiles/osx/* . || true
182 verbose rm -rf misc/buildfiles
183 verbose rm -rf misc/tools/all
185 release_git_extract_dir "darkplaces" "Xonotic/source/darkplaces" .
186 release_git_extract_dir "gmqcc" "Xonotic/source/gmqcc" .
187 release_git_extract_dir "data/xonotic-data.pk3dir" "Xonotic/source" qcsrc Makefile
188 release_git_extract_dir "d0_blind_id" "Xonotic/source/d0_blind_id" .
189 # bones_was_here: the main Makefile runs autogen.sh (and configure) when necessary
191 # verbose cd Xonotic/source/d0_blind_id
192 # verbose sh autogen.sh
194 rm -f Xonotic/key_15.d0pk
196 verbose cd Xonotic/mapping
197 # bones_was_here: don't ship 10 year old netradiant
198 # also seems better to update netradiant independently of xonotic versions
199 #verbose wget http://www.icculus.org/netradiant/files/netradiant-1.5.0-20120301.tar.bz2
200 #verbose wget http://www.icculus.org/netradiant/files/netradiant-1.5.0-20120301-win32-7z.exe
201 #for X in *-7z.exe; do
205 # TODO possibly include other tools?
206 printf "Please find links to NetRadiant builds at https://netradiant.gitlab.io or https://xonotic.org/download\nNetRadiant source available at https://gitlab.com/xonotic/netradiant\n" > NetRadiant\ links.txt
208 ./all each git rev-parse HEAD > Xonotic/misc/git-revisions.txt
221 if [ -z "$targetfiles" ]; then
224 case " $HOSTS_THAT_ARE_DISABLED " in
229 case " $HOSTS_THAT_ARE_SCHROOT " in
231 schroot="schroot -c $host --"
234 case " $HOSTS_THAT_ARE_MYSELF $HOSTS_THAT_ARE_SCHROOT " in
236 verbose rsync --delete -zLvaSHP "$srcdir"/ "$buildpath/"
237 verbose rsync --delete -zLvaSHP misc/logos/icons_ico/xonotic.ico "$buildpath"/darkplaces.ico
238 verbose rsync --delete -zLvaSHP "$depsdir"/*/ "$buildpath.deps/"
239 verbose ln -snf "$buildpath.deps" "$buildpath/.deps"
240 verbose eval $schroot make -C "$buildpath" clean $maketargets $makeflags
241 for f in $targetfiles; do
242 verbose mv "$buildpath/${f%:*}" "${f##*:}" || true
246 verbose rsync --delete -zLvaSHP "$srcdir"/ "$host":"$buildpath/"
247 verbose rsync --delete -zLvaSHP misc/logos/icons_ico/xonotic.ico "$host":"$buildpath"/darkplaces.ico
248 verbose rsync --delete -zLvaSHP "$depsdir"/*/ "$host":"$buildpath.deps/"
249 verbose ssh "$host" "[ -f /etc/profile ] && . /etc/profile; [ -f ~/.profile ] && . ~/.profile; export LC_ALL=C; ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
250 for f in $targetfiles; do
251 verbose rsync -zvaSHP "$host:$buildpath/${f%:*}" "${f##*:}" || true
260 darkplaces_maketargets=$3
262 host=xonotic-build-$suffix
263 verbose "$SELF" release-compile-run "$host" /tmp/Darkplaces.build."$suffix" "$darkplaces_maketargets" "$makeflags" "Xonotic/source/darkplaces" "$d0/misc/builddeps/$suffix" "$darkplaces_files"
268 basename=${binary##*/}
269 dpname=darkplaces${basename#xonotic}
270 rev=`( cd "$d0/darkplaces" && git rev-parse HEAD )`
271 verbose wget -O "$binary" "http://beta.xonotic.org/autobuild-bin/$rev/$dpname"
272 [ -s "$binary" ] || rm -f "$binary"
275 Xonotic/*osx*|Xonotic/*linux*)
280 release-libs-compile)
286 verbose cd "$d0/d0_blind_id"
288 verbose ./configure --enable-static --disable-shared \
290 --prefix="$d0/misc/builddeps/$arch/d0_blind_id"
292 verbose eval make "$makeflags"
296 release-libs-linux64)
298 # TODO schroot support for libs so we can LTO this
299 verbose "$SELF" release-libs-compile linux64 \
303 release-dlls-compile)
308 verbose mkdir -p "$targetdir"
311 verbose ./dlls.sh clean "$buildpath"
312 verbose ./dlls.sh all "$buildpath" "$arch"
314 verbose cp -v $buildpath/out/$arch/* "$targetdir"
315 verbose mkdir -p "$d0/misc/builddeps/$arch/"
316 verbose rsync --delete -avP "$buildpath/pkg/$arch/sdl" "$d0/misc/builddeps/$arch/"
320 verbose "$SELF" release-dlls-compile win32 /tmp/dlls Xonotic/bin32
324 verbose "$SELF" release-dlls-compile win64 /tmp/dlls Xonotic/bin64
328 verbose mkdir -p "$d0/misc/builddeps/osx"
330 verbose cd "$d0/misc/builddeps/osx"
331 verbose rm -rf sdl SDL2
332 verbose wget https://libsdl.org/release/SDL2-2.28.5.dmg
334 # 7z still fails to extract working symlinks from any archive format, hackaround:
335 verbose ln -sf $(cat SDL2/SDL2.framework/Versions/Current) SDL2/SDL2.framework/Versions/Current
336 verbose ln -sf $(cat SDL2/SDL2.framework/Headers) SDL2/SDL2.framework/Headers
337 verbose ln -sf $(cat SDL2/SDL2.framework/Resources) SDL2/SDL2.framework/Resources
338 verbose ln -sf $(cat SDL2/SDL2.framework/SDL2) SDL2/SDL2.framework/SDL2
339 # THE HEADERS ARE NOT IN A SUBDIRECTORY CALLED SDL2
340 # YET SDL2/ WAS ADDED TO ALL THE INCLUDES, WHY?!?
341 # OLD VERSIONS WITHOUT IT WORKED
342 verbose sed -i "s/#include <SDL2\//#include </g" SDL2/SDL2.framework/Versions/Current/Headers/*.h
347 verbose "$SELF" release-libs-linux64
348 verbose "$SELF" release-dlls-win32
349 verbose "$SELF" release-dlls-win64
350 verbose "$SELF" release-libs-osx
351 verbose rm -rf /tmp/dlls
353 release-engine-win32)
356 #verbose "$SELF" release-getbinary Xonotic/xonotic-x86.exe || good=false
357 #verbose "$SELF" release-getbinary Xonotic/xonotic-x86-dedicated.exe || good=false
359 verbose "$SELF" release-compile win32 \
360 'DP_MAKE_TARGET=mingw WIN32RELEASE=1 CC="i686-w64-mingw32-gcc -static -flto=auto -mstackrealign -Wl,--dynamicbase -Wl,--nxcompat -I../../../.deps/include -L../../../.deps/lib" WINDRES="i686-w64-mingw32-windres" DP_LINK_SDL=static SDL_CONFIG="../../../.deps/bin/sdl2-config" DP_LINK_CRYPTO=dlopen DP_LINK_CRYPTO_RIJNDAEL=dlopen DP_LINK_JPEG=dlopen DP_LINK_ODE=dlopen DP_LINK_ZLIB=dlopen' \
361 release 'darkplaces-sdl.exe:Xonotic/xonotic-x86.exe darkplaces-dedicated.exe:Xonotic/xonotic-x86-dedicated.exe'
363 release-engine-win64)
366 #verbose "$SELF" release-getbinary Xonotic/xonotic.exe || good=false
367 #verbose "$SELF" release-getbinary Xonotic/xonotic-dedicated.exe || good=false
369 verbose "$SELF" release-compile win64 \
370 'DP_MAKE_TARGET=mingw WIN64RELEASE=1 CC="x86_64-w64-mingw32-gcc -static -flto=auto -Wl,--dynamicbase -Wl,--nxcompat -I../../../.deps/include -L../../../.deps/lib" WINDRES="x86_64-w64-mingw32-windres" DP_LINK_SDL=static SDL_CONFIG="../../../.deps/bin/sdl2-config" DP_LINK_CRYPTO=dlopen DP_LINK_CRYPTO_RIJNDAEL=dlopen DP_LINK_JPEG=dlopen DP_LINK_ODE=dlopen DP_LINK_ZLIB=dlopen' \
371 release 'darkplaces-sdl.exe:Xonotic/xonotic.exe darkplaces-dedicated.exe:Xonotic/xonotic-dedicated.exe'
376 #verbose "$SELF" release-getbinary Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin || good=false
377 #verbose "$SELF" release-getbinary Xonotic/xonotic-osx-dedicated || good=false
379 # Note: travis build script also had SDLCONFIG_MACOSX* flags; need to check if they're still needed with osxcross.
380 # Note: Mac bins cannot be stripped by the standard tool.
381 verbose "$SELF" release-compile osx \
382 'STRIP=: DP_MAKE_TARGET=macosx PATH="$HOME/osxcross/out/bin:$PATH" CC="$HOME/osxcross/out/bin/o64-clang -flto -arch x86_64 -mmacosx-version-min=10.7 -Wl,-rpath -Wl,@loader_path/../Frameworks -Wl,-rpath -Wl,@loader_path -I../../../.deps/include -L../../../.deps/lib" SDLCONFIG_MACOSXCFLAGS="-I../../../.deps/SDL2.framework/Headers" SDLCONFIG_MACOSXLIBS="-F../../../.deps -framework SDL2 -framework Cocoa -I../../../.deps/SDL2.framework/Headers" SDLCONFIG_MACOSXSTATICLIBS="-F../../../.deps -framework SDL2 -framework Cocoa -I../../../.deps/SDL2.framework/Headers" DP_LINK_CRYPTO=dlopen DP_LINK_CRYPTO_RIJNDAEL=dlopen DP_LINK_JPEG=dlopen DP_LINK_ODE=dlopen DP_LINK_ZLIB=shared' \
383 release 'darkplaces-sdl:Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin darkplaces-dedicated:Xonotic/xonotic-osx-dedicated'
385 release-engine-linux64)
388 #verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-sdl || good=false
389 #verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-glx || good=false
390 #verbose "$SELF" release-getbinary Xonotic/xonotic-linux64-dedicated || good=false
392 verbose "$SELF" release-compile linux64 \
393 'CC="gcc -m64 -flto=auto -I../../../.deps/include -L../../../.deps/lib" DP_LINK_CRYPTO=static DP_LINK_CRYPTO_RIJNDAEL=static DP_LINK_JPEG=shared LIB_JPEG=/usr/lib/x86_64-linux-gnu/libjpeg.a DP_LINK_ODE=dlopen DP_LINK_ZLIB=shared' \
394 release 'darkplaces-sdl:Xonotic/xonotic-linux64-sdl darkplaces-dedicated:Xonotic/xonotic-linux64-dedicated'
398 # TODO report failures here.
400 verbose "$SELF" release-engine-linux64 && good=true
401 verbose "$SELF" release-engine-win32 && good=true
402 verbose "$SELF" release-engine-win64 && good=true
403 verbose "$SELF" release-engine-osx && good=true
408 verbose "$SELF" update-maps
412 verbose make -C "$d0/gmqcc" gmqcc
413 verbose env GIT_DIR="$d0/data/xonotic-data.pk3dir/.git" make -C Xonotic/source QCC="$d0/gmqcc/gmqcc" XON_BUILDSYSTEM=1 QCCFLAGS_WATERMARK='$(shell git describe --tags)' clean qc
415 release-buildpk3-transform-raw)
419 release-buildpk3-transform-normal)
423 # texture: convert to jpeg and dds
424 verbose export do_jpeg=true
425 verbose export jpeg_qual_rgb=97
426 verbose export jpeg_qual_a=99
427 verbose export do_dds=false
428 verbose export do_ogg=true
429 verbose export ogg_ogg=false
430 verbose export del_src=true
431 find . -type f -print0 | verbose xargs -0 "$d0"/misc/tools/cached-converter.sh
433 release-buildpk3-transform-normaldds)
437 # texture: convert to jpeg and dds
438 # music: reduce bitrate
439 verbose export do_jpeg=false
440 verbose export do_jpeg_if_not_dds=true
441 verbose export jpeg_qual_rgb=95
442 verbose export jpeg_qual_a=99
443 verbose export do_dds=true
444 verbose export dds_flags=
445 verbose export do_ogg=true
446 verbose export ogg_ogg=false
447 verbose export del_src=true
448 find . -type f -print0 | verbose xargs -0 "$d0"/misc/tools/cached-converter.sh
450 release-buildpk3-transform-mapping)
454 # don't include levelshots, lightmaps and minimaps from official map builds, as well as other unneeded folders
455 rm -rf gfx maps scripts sound
456 # remove stuff radiant has no use for
457 verbose find . -name \*_norm.\* -exec rm -f {} \;
458 verbose find . -name \*_bump.\* -exec rm -f {} \;
459 verbose find . -name \*_glow.\* -exec rm -f {} \;
460 verbose find . -name \*_gloss.\* -exec rm -f {} \;
461 verbose find . -name \*_pants.\* -exec rm -f {} \;
462 verbose find . -name \*_shirt.\* -exec rm -f {} \;
463 verbose find . -name \*_reflect.\* -exec rm -f {} \;
464 verbose find . -not \( -name \*.tga -o -name \*.png -o -name \*.jpg \) -exec rm -f {} \;
465 # texture: convert to jpeg and dds
466 # music: reduce bitrate
467 verbose export do_jpeg=true
468 verbose export jpeg_qual_rgb=80
469 verbose export jpeg_qual_a=97
470 verbose export do_dds=false
471 verbose export do_ogg=true
472 verbose export ogg_qual=1
473 verbose export del_src=true
474 find . -type f -print0 | verbose xargs -0 "$d0"/misc/tools/cached-converter.sh
489 verbose rm -rf Xonotic/temp
490 release_timereport "deleted temp directory"
491 verbose mkdir -p Xonotic/temp
492 release_git_extract_dir "$src" "Xonotic/temp" .
493 release_timereport "extracted data"
494 verbose cd Xonotic/temp
495 if [ x"$src" = x"data/xonotic-data.pk3dir" ]; then
496 verbose cp ../source/progs.dat .
497 verbose cp ../source/csprogs.dat .
498 verbose cp ../source/menu.dat .
499 # Include line numbers in qc errors
500 verbose cp ../source/progs.lno .
501 verbose cp ../source/csprogs.lno .
502 verbose cp ../source/menu.lno .
505 case "$RELEASETYPE" in
509 versionstr="$versionstr $RELEASETYPE"
512 versionstr="$versionstr$RELEASETYPE"
515 if [ $gv -lt 9900 ]; then
516 # pre-1.0: compatible with any other pre-1.0
518 s/^set g_xonoticversion [^ ]* /set g_xonoticversion \"$versionstr\" /;
519 s/^gameversion_max [0-9]*/gameversion_max 9999/;
520 " < xonotic-common.cfg > xonotic-common.cfg.new
521 # Following line was included in sed above, ref https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1034
522 # s/^gameversion_min [0-9]*/gameversion_min 0/;
526 s/^set g_xonoticversion [^ ]* /set g_xonoticversion \"$versionstr\" /;
527 s/^gameversion_max [0-9]*/gameversion_max $(( ($gv / 100) * 100 + 199 ))/;
528 " < xonotic-common.cfg > xonotic-common.cfg.new
529 # Following line was included in sed above, ref https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1034
530 # s/^gameversion_min [0-9]*/gameversion_min $(( ($gv / 100) * 100 - 100 ))/;
532 mv xonotic-common.cfg.new xonotic-common.cfg
533 case "$RELEASETYPE" in
535 echo "" >> xonotic-common.cfg
536 echo "// nicer menu" >> xonotic-common.cfg
537 echo "set menu_watermark \"\"" >> xonotic-common.cfg
541 verbose cd gfx/menu/luminos
542 verbose rm -f background_l2.tga background_ingame_l2.tga
543 verbose cp "$d0"/mediasource/gfx/menu/luminos_versionbuilder/background_l2.svg .
544 verbose "$d0"/mediasource/gfx/menu/luminos_versionbuilder/versionbuilder "$versionstr"
545 verbose rm background_l2.svg
547 verbose "$d0"/mediasource/gfx/luma/render-version.sh "$d0/mediasource/gfx/luma" "$PWD" "$versionstr"
549 if [ x"$src" = x"data/xonotic-maps.pk3dir" ]; then
550 for X in ../../data/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do
553 verbose rm -f maps/*.log maps/*.irc maps/*.lin
557 verbose export git_src_repo="$d0/$src" # skip hash-object
558 release_timereport "processed data"
559 verbose "$SELF" release-buildpk3-transform-$transform "Xonotic/temp"
560 release_timereport "transformed data"
561 find . -type f -size +4k | verbose "$d0"/misc/tools/symlink-deduplicate.sh
562 release_timereport "deduplicated data"
563 verbose mkzipr "../../$dst" *
564 release_timereport "zipped data"
566 verbose rm -rf Xonotic/temp
567 release_timereport "deleted temp directory again"
571 pk3stamp=`cat Xonotic/pk3stamp.txt`
577 dst="data/xonotic-$pk3stamp-${dst#data/xonotic-}"
583 while [ "$#" -gt 1 ]; do
584 verbose "$SELF" release-buildpk3 "$src" "Xonotic/$dst$2.pk3" "$1"
591 verbose "$SELF" release-buildpk3s data/font-unifont.pk3dir raw ''
592 verbose "$SELF" release-buildpk3s data/font-xolonium.pk3dir raw ''
593 verbose "$SELF" release-buildpk3s data/xonotic-data.pk3dir normaldds '' normal '-high'
594 verbose "$SELF" release-buildpk3s data/xonotic-maps.pk3dir normaldds '' mapping '-mapping' normal '-high'
595 verbose "$SELF" release-buildpk3s data/xonotic-music.pk3dir raw ''
596 verbose "$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir normaldds '' normal '-high'
597 verbose "$SELF" release-buildpk3s data/xonotic-xoncompat.pk3dir normaldds '' normal '-high'
599 release-pack-needsx11)
603 verbose startx "$SELF" release-pack -- /usr/bin/Xvfb :7
606 verbose "$SELF" release-pack
612 stamp=`cat Xonotic/stamp.txt`
613 pk3stamp=`cat Xonotic/pk3stamp.txt`
614 # exe and dll files do not need +x
615 chmod a-x Xonotic/*.exe Xonotic/*.dll Xonotic/bin64/*.dll Xonotic/bin32/*.dll || true
617 verbose mkzipr Xonotic-$stamp-enginesource.zip \
619 Xonotic/source/darkplaces/ \
620 Xonotic/COPYING Xonotic/GPL-2 Xonotic/GPL-3
621 verbose cp Xonotic-$stamp-enginesource.zip Xonotic-$stamp-engine.zip
622 verbose mkzipr Xonotic-$stamp-engine.zip \
624 Xonotic/bin32/*.dll \
625 Xonotic/bin64/*.dll \
629 verbose cp Xonotic-$stamp-engine.zip Xonotic-$stamp-common.zip
630 verbose mkzipr Xonotic-$stamp-common.zip \
631 Xonotic/source/d0_blind_id/ \
632 Xonotic/source/gmqcc/ \
633 Xonotic/source/qcsrc/ \
639 Xonotic/data/font-unifont-$pk3stamp.pk3 \
640 Xonotic/data/font-xolonium-$pk3stamp.pk3
641 verbose cp Xonotic-$stamp-enginesource.zip Xonotic-$stamp-source.zip
642 verbose mkzipr Xonotic-$stamp-source.zip \
643 Xonotic/source/d0_blind_id/ \
644 Xonotic/source/gmqcc/ \
645 Xonotic/source/qcsrc/ \
647 verbose cp Xonotic-$stamp-common.zip Xonotic-$stamp.zip
648 verbose mkzip0 Xonotic-$stamp.zip \
649 Xonotic/data/xonotic-$pk3stamp-data.pk3 \
650 Xonotic/data/xonotic-$pk3stamp-maps.pk3 \
651 Xonotic/data/xonotic-$pk3stamp-music.pk3 \
652 Xonotic/data/xonotic-$pk3stamp-nexcompat.pk3 \
653 Xonotic/data/xonotic-$pk3stamp-xoncompat.pk3
654 verbose mv Xonotic-$stamp-common.zip Xonotic-$stamp-high.zip
655 verbose mkzip0 Xonotic-$stamp-high.zip \
656 Xonotic/data/xonotic-$pk3stamp-data-high.pk3 \
657 Xonotic/data/xonotic-$pk3stamp-maps-high.pk3 \
658 Xonotic/data/xonotic-$pk3stamp-music.pk3 \
659 Xonotic/data/xonotic-$pk3stamp-nexcompat-high.pk3 \
660 Xonotic/data/xonotic-$pk3stamp-xoncompat-high.pk3
661 verbose mkzipr Xonotic-$stamp-mappingsupport.zip \
663 verbose mkzip0 Xonotic-$stamp-mappingsupport.zip \
664 Xonotic/data/xonotic-$pk3stamp-maps-mapping.pk3
665 verbose mkzipr gmqcc-$stamp.zip \
671 verbose "$SELF" release-prepare
672 verbose "$SELF" release-maps
673 verbose "$SELF" release-libs
674 verbose "$SELF" release-engine
675 verbose "$SELF" release-qc
676 verbose "$SELF" release-pack
677 verbose "$SELF" release-zip