From 6de22c8ef3bd5f98c4f6528c63887c4519df071c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 8 Apr 2012 20:55:48 +0200 Subject: [PATCH] Add a distribution script. --- dist.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dist.sh diff --git a/dist.sh b/dist.sh new file mode 100755 index 0000000..c39289b --- /dev/null +++ b/dist.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +PV=${1:-$(date +%Y%m%d)} +P=hwids-${PV} + +git tag ${P} +git archive --prefix=${P}/ ${P} | xz -9e > ${P}.tar.xz -- 2.25.1