Create script to release DFSG compliant source

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
pull/122/head
Stephan Lachnit 4 years ago
parent f860418e7e
commit dc39dc7650
No known key found for this signature in database
GPG Key ID: B35B49EA5D563EFE

11
.gitignore vendored

@ -1,11 +1,12 @@
build/
builddir/
__pycache__/
.vscode/
build
builddir
__pycache__
.vscode
MangoHud*.tar.gz
pkg/*
pkg
mangohud*.tar.*
lib32-mangohud*.tar.*
v*.tar.gz
# Prerequisites
*.d

@ -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…
Cancel
Save