From 9bb02132b945c110a9704e195333fd1531d05261 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 31 Dec 2022 10:22:52 +0100 Subject: [PATCH] Added tarball script Signed-off-by: Janos SUTO --- G | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 G diff --git a/G b/G new file mode 100755 index 00000000..9e3753bb --- /dev/null +++ b/G @@ -0,0 +1,12 @@ +#!/bin/bash + +set -o nounset +set -o errexit +set -o pipefail + +read -r version < VERSION + +tarball="piler-${version}.tar.gz" + +git archive --prefix="piler-${version}/" HEAD | gzip -c > "$tarball" +sha256sum "$tarball"