From bfbaa2bd29524b295b6cedca553cd2bec69db865 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 20 Apr 2009 17:07:55 -0400 Subject: Add a release script to help building tarballs It needs a gpg key for signing the tarball. --- scripts/release.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/release.sh diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 00000000..e49bd8de --- /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 + -- cgit