projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic/019: don't dump cores when fio/fsstress hit io errors
[xfstests-dev.git]
/
release.sh
diff --git
a/release.sh
b/release.sh
index 90a8a05533d4ea8940619dd736e78de01a953d53..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,8
+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 "
Creat
ing source tarball"
+echo "
Mak
ing source tarball"
make dist
make dist
-echo "Done."
-echo "Please remember to push out tags using \"git push --tags\""
+echo "Sign the source tarball"
+gpg --detach-sign xfstests-${version}.tar.gz
+
+echo "Done. Please remember to push out tags using \"git push --tags\""