You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
295 B
Bash
11 lines
295 B
Bash
#!/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
|