diff options
-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 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 + |