MangoHud/build-source.sh
Stephan Lachnit 7601adc2e0 Use gzip in build-source.sh
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-03 21:36:50 +03:00

11 lines
295 B
Bash
Executable File

#!/bin/sh
VERSION=$(git describe --tags)
FILE_PATTERN="--exclude-vcs --exclude-vcs-ignores ."
# default version
tar -czf MangoHud-$VERSION-Source.tar.gz $FILE_PATTERN
# DFSG compliant version, excludes NVML
tar -czf MangoHud-$VERSION-Source-DFSG.tar.gz --exclude=include/nvml.h $FILE_PATTERN