logo

utils

~/.local/bin tools and git-hooks
commit: 7404e27dd318b734b3e85f3a8352e5080d902e46
parent: d4ea114eb8dfcad0893b6fe29de7f76c83d273d4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 10 May 2018 04:34:39 +0200

bin/archive-tags: Append the name to the archives

Diffstat:

Mbin/archive-tags2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/archive-tags b/bin/archive-tags @@ -7,7 +7,7 @@ git tag -l | while read -r t; do test -f "${f}" && continue git archive \ --format tar.gz \ - --prefix "${t}/" \ + --prefix "${name}-${t}/" \ -o "${f}" \ -- \ "${t}"