Better names for source tarballs
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>pull/150/head
parent
a7a76b2451
commit
2aa8d27d5a
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$(git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//')
|
||||
VERSION=$(git describe --tags)
|
||||
|
||||
EXCLUDE_PATTERN="--exclude-vcs --exclude-vcs-ignores"
|
||||
|
||||
tar -cf v$VERSION.tar.gz $EXCLUDE_PATTERN .
|
||||
tar -cf v$VERSION-DFSG.tar.gz $EXCLUDE_PATTERN --exclude=include/nvml.h .
|
||||
tar -cf MangoHud-$VERSION-Source.tar.gz $EXCLUDE_PATTERN .
|
||||
tar -cf MangoHud-$VERSION-Source-DFSG.tar.gz $EXCLUDE_PATTERN --exclude=include/nvml.h .
|
||||
|
Loading…
Reference in New Issue