From: Alex Elder Date: Thu, 28 Jan 2010 15:37:38 +0000 (-0500) Subject: xfsprogs: digitally sign release tags X-Git-Tag: v3.1.1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a01aadc32e30e0569511f691c5a12bc0a1e11f0;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: digitally sign release tags Arrange for the commit marking a new release to include a "Signed-off-by" line, and have the corresponding tag include a digital signature. Reviewed-by: Christoph Hellwig Signed-off-by: Alex Elder --- diff --git a/release.sh b/release.sh index fcea63788..90a8a0553 100755 --- a/release.sh +++ b/release.sh @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # # Automate generation a new release # -. VERSION +. ./VERSION version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION} date=`date +"%-d %B %Y"` @@ -13,10 +13,10 @@ sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \ mv doc/CHANGES.tmp doc/CHANGES echo "Commiting CHANGES update to git" -git-commit -a -m "${version} release" +git commit -s -a -m "${version} release" echo "Tagging git repository" -git-tag v${version} +git tag -s -a -m "${version} release" v${version} echo "Creating source tarball" make dist