diff options
author | 2015-08-11 19:35:20 -0400 | |
---|---|---|
committer | 2015-08-11 19:35:20 -0400 | |
commit | 99e3162cd7527e45cfb439c0307589a85d1d6d9a (patch) | |
tree | 543fdbb81da0e95376a74f2a6ecf29a1a7b42b61 | |
parent | Remove CONST.namervers[]. To be provided by grs repo. (diff) | |
download | grss-99e3162cd7527e45cfb439c0307589a85d1d6d9a.tar.gz grss-99e3162cd7527e45cfb439c0307589a85d1d6d9a.tar.bz2 grss-99e3162cd7527e45cfb439c0307589a85d1d6d9a.zip |
utils/bundleit.sh: simple release bundling utility.
-rwxr-xr-x | utils/bundleit.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/bundleit.sh b/utils/bundleit.sh new file mode 100755 index 0000000..727d9d9 --- /dev/null +++ b/utils/bundleit.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [[ ${#@} != "1" ]]; then + echo "usage: $0 <tag>" +fi + +tag=$1 +ver=${tag/v} +git archive --format=tar --prefix=grss-${ver}/ $tag | gzip - > ../grss-${ver}.tar.gz |