mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 15:44:10 +00:00
create-archive: to create local tar.gz
This commit is contained in:
parent
d9b3c528e9
commit
bfb7377d77
1 changed files with 7 additions and 0 deletions
7
create-archive.sh
Executable file
7
create-archive.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/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
|
Loading…
Add table
Reference in a new issue