diff --git a/.gitignore b/.gitignore index acd8ed52..f6db60c3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ *.swp *.tmp .tags + +polybar-*.tar diff --git a/common/release-archive.sh b/common/release-archive.sh new file mode 100755 index 00000000..222dc570 --- /dev/null +++ b/common/release-archive.sh @@ -0,0 +1,59 @@ +#!/usr/bin/env bash + +set -euo pipefail + +git_url="https://github.com/polybar/polybar.git" +wd="$(realpath .)" + +usage() { + cat </dev/null + +find . -type d -name ".git" -exec rm -rf {} \+ + +cd "$tmp_dir" +tar cf "$archive" "polybar" +sha256sum "$archive"