diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-04-20 17:07:55 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-04-20 17:07:55 -0400 |
commit | bfbaa2bd29524b295b6cedca553cd2bec69db865 (patch) | |
tree | 5564158446612506e51ab32e6bf104d87db6ef0a /scripts | |
parent | ae923bea4b3fdb4a1f40f2c0e2942b5edcecb064 (diff) | |
download | sssd-bfbaa2bd29524b295b6cedca553cd2bec69db865.tar.gz sssd-bfbaa2bd29524b295b6cedca553cd2bec69db865.tar.xz sssd-bfbaa2bd29524b295b6cedca553cd2bec69db865.zip |
Add a release script to help building tarballs
It needs a gpg key for signing the tarball.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 000000000..e49bd8de4 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +version=`grep "^AC_INIT" server/configure.ac | tr -d "AC_INIT(sssd, " | tr -d ")"` +v_=`echo ${version} | tr "." "_"` + +git archive --format=tar --prefix=sssd-${version}/ sssd-${v_} | gzip > sssd-${version}.tar.gz +gpg --detach-sign --armor sssd-${version}.tar.gz + |