aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-04-08 20:55:48 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-04-08 20:55:48 +0200
commit6de22c8ef3bd5f98c4f6528c63887c4519df071c (patch)
tree72733363aeef92f8fff22931e9648abdca93cde9
parentUpdate pci.ids. (diff)
downloadhwids-6de22c8ef3bd5f98c4f6528c63887c4519df071c.tar.gz
hwids-6de22c8ef3bd5f98c4f6528c63887c4519df071c.tar.bz2
hwids-6de22c8ef3bd5f98c4f6528c63887c4519df071c.zip
Add a distribution script.
-rwxr-xr-xdist.sh7
1 files changed, 7 insertions, 0 deletions
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