Ensure the tree is clean before building the distribution archive.
This commit is contained in:
parent
bb58ed0169
commit
c5c7999753
@ -11,8 +11,12 @@ mpwArchive=mpw-$commit.tar.gz
|
|||||||
[[ -e $mpwArchive ]] && echo >&2 "WARNING: $mpwArchive already exists. Will overwrite."
|
[[ -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."
|
read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort."
|
||||||
|
|
||||||
|
echo "Cleaning .."
|
||||||
|
./clean
|
||||||
|
|
||||||
echo "Creating archive $mpwArchive .."
|
echo "Creating archive $mpwArchive .."
|
||||||
git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive"
|
git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive"
|
||||||
|
|
||||||
echo "Creating archive signature $mpwArchive.sig .."
|
echo "Creating archive signature $mpwArchive.sig .."
|
||||||
gpg --detach-sign "$mpwArchive"
|
gpg --detach-sign "$mpwArchive"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user