Create script to release DFSG compliant source
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>pull/122/head
parent
f860418e7e
commit
dc39dc7650
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$(git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//')
|
||||
|
||||
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 .
|
Loading…
Reference in New Issue