]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Set DP version string
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 7 Aug 2024 16:25:48 +0000 (02:25 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 7 Aug 2024 16:25:48 +0000 (02:25 +1000)
misc/tools/all/release.subr

index 54f7c8c5530d5f2760750a499641175b8080f25a..16a1b9ba12f71c5bd7da98d4336fee19d3529b67 100644 (file)
@@ -217,6 +217,7 @@ case "$cmd" in
                depsdir=$6
                targetfiles=$7
                schroot=
+               makeflags="$makeflags VCREVISION=$(git -C "$srcdir" describe --always --dirty='~' 2>/dev/null || echo FIXME)"
                set -x
                if [ -z "$targetfiles" ]; then
                        exit