mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: Refactor release scripts to conform to using git archive
Refactored release scripts to conform to using git archive When generating a release, there is a risk of some files being stale, such as configure and the m4/autotools temp files. This is fixed with a clean at the beginning of release generation. In addition, there is no uniformity in the current method of source tar generation between xfs utilities. Using git archive solves this issue across all utilities. Signed-off-by: Andrew Dahl <adahl@sgi.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
+9
-2
@@ -8,6 +8,9 @@
|
||||
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
|
||||
@@ -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 "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\""
|
||||
|
||||
Reference in New Issue
Block a user