Build system: Don't delete .gitignore when creating release archives

It doesn't make much sense to remove all .gitignore files just to explain users that they should create those files if they want to manage their website using a Git repository.
This commit is contained in:
Daniel Rudolf 2018-01-27 21:02:06 +01:00
parent 604ee70d27
commit e079946e6f
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -49,8 +49,7 @@ composer require --no-update \
"picocms/pico-theme ^$VERSION_MILESTONE" \
"picocms/pico-deprecated ^$VERSION_MILESTONE"
echo "Removing '.git' directory and '.gitignore' file..."
rm -f .gitignore
echo "Removing '.git' directory..."
rm -rf .git
echo "Removing '.git' directories of dependencies..."