Gentoo Archives: gentoo-commits

From: "Diego Elio Pettenò" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hwids:master commit in: /
Date: Sun, 08 Apr 2012 19:09:17
Message-Id: 1333911348.6de22c8ef3bd5f98c4f6528c63887c4519df071c.flameeyes@gentoo
1 commit: 6de22c8ef3bd5f98c4f6528c63887c4519df071c
2 Author: Diego Elio Pettenò <flameeyes <AT> flameeyes <DOT> eu>
3 AuthorDate: Sun Apr 8 18:55:48 2012 +0000
4 Commit: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 18:55:48 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hwids.git;a=commit;h=6de22c8e
7
8 Add a distribution script.
9
10 ---
11 dist.sh | 7 +++++++
12 1 files changed, 7 insertions(+), 0 deletions(-)
13
14 diff --git a/dist.sh b/dist.sh
15 new file mode 100755
16 index 0000000..c39289b
17 --- /dev/null
18 +++ b/dist.sh
19 @@ -0,0 +1,7 @@
20 +#!/bin/sh
21 +
22 +PV=${1:-$(date +%Y%m%d)}
23 +P=hwids-${PV}
24 +
25 +git tag ${P}
26 +git archive --prefix=${P}/ ${P} | xz -9e > ${P}.tar.xz