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 <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
-#!/bin/sh
+#!/bin/bash
#
# Automate generation a new release
#
-. VERSION
+. ./VERSION
version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
date=`date +"%-d %B %Y"`
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