1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
zap/create-archive.sh
2023-04-23 00:28:55 +02:00

7 lines
159 B
Bash
Executable file

#!/usr/bin/env bash
tag=$1
if [ "$tag" == "" ] ; then
echo provide tag
exit 1
fi
git archive --format=tar.gz -o ${tag}.tar.gz --prefix=zap-$tag/ HEAD