diff --git a/.gitignore b/.gitignore index dc63d488..4bf7ae50 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ build/ __pycache__/ .vscode/ -MangoHud.tar.gz +MangoHud*.tar.gz # Prerequisites *.d diff --git a/build.sh b/build.sh index bb21231a..bfd98881 100755 --- a/build.sh +++ b/build.sh @@ -36,8 +36,9 @@ install() { } package() { + VERSION=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)") cd build/release - tar czf ../../MangoHud.tar.gz * + tar czf ../../MangoHud-$VERSION.tar.gz * } clean() {