2
0

Ensure the tree is clean before building the distribution archive.

This commit is contained in:
Maarten Billemont 2017-04-22 11:15:07 -04:00
parent bb58ed0169
commit c5c7999753

View File

@ -11,8 +11,12 @@ mpwArchive=mpw-$commit.tar.gz
[[ -e $mpwArchive ]] && echo >&2 "WARNING: $mpwArchive already exists. Will overwrite."
read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort."
echo "Cleaning .."
./clean
echo "Creating archive $mpwArchive .."
git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive"
echo "Creating archive signature $mpwArchive.sig .."
gpg --detach-sign "$mpwArchive"