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.
|
#!/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 .
|