projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
overlay: run unionmount testsuite test cases
[xfstests-dev.git]
/
release.sh
diff --git
a/release.sh
b/release.sh
index 65e4e4bfeabfd3f9a96a37381c0dd288f047bb3a..5b78ec79fe465e5f45bbe1995de1d3ca7b72e34e 100644
(file)
--- a/
release.sh
+++ b/
release.sh
@@
-8,6
+8,9
@@
version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
date=`date +"%-d %B %Y"`
version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
date=`date +"%-d %B %Y"`
+echo "Cleaning up"
+make realclean
+
echo "Updating CHANGES"
sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \
mv doc/CHANGES.tmp doc/CHANGES
echo "Updating CHANGES"
sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \
mv doc/CHANGES.tmp doc/CHANGES
@@
-18,6
+21,10
@@
git commit -s -a -m "${version} release"
echo "Tagging git repository"
git tag -s -a -m "${version} release" v${version}
echo "Tagging git repository"
git tag -s -a -m "${version} release" v${version}
-echo "
Done. Please remember to push out tags using \"git push --tags\"
"
-echo "If you wish to create a source tarball, run \"make dist\""
+echo "
Making source tarball
"
+make dist
+echo "Sign the source tarball"
+gpg --detach-sign xfstests-${version}.tar.gz
+
+echo "Done. Please remember to push out tags using \"git push --tags\""