From bfb7377d77a40ba151f2c41d2828636116bf933c Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sun, 23 Apr 2023 00:28:55 +0200 Subject: [PATCH] create-archive: to create local tar.gz --- create-archive.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 create-archive.sh diff --git a/create-archive.sh b/create-archive.sh new file mode 100755 index 0000000..df52d8c --- /dev/null +++ b/create-archive.sh @@ -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