]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
Remove the dirty flag from the qc version string in release builds
authorbones_was_here <bones_was_here@xa.org.au>
Tue, 14 Dec 2021 12:41:31 +0000 (22:41 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Tue, 14 Dec 2021 12:41:31 +0000 (22:41 +1000)
Old: "xonotic-v0.8.2~"
New: "xonotic-v0.8.2"

misc/tools/all/release.subr

index f153328c9a268539ad5a60b6d9c76e6b222f0445..f3202c2caf21f2ef9f0a4be5babfde6404dbc6bd 100644 (file)
@@ -324,7 +324,7 @@ case "$cmd" in
        release-qc)
                release_common
                verbose make -C "$d0/gmqcc" gmqcc
-               verbose env GIT_DIR="$d0/data/xonotic-data.pk3dir/.git" make -C Xonotic/source QCC="$d0/gmqcc/gmqcc" XON_BUILDSYSTEM=1 clean qc
+               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
                ;;
        release-buildpk3-transform-raw)
                release_common