Skip to content

Commit

Permalink
create-archive: to create local tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Apr 22, 2023
1 parent d9b3c52 commit bfb7377
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions create-archive.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bfb7377

Please sign in to comment.