From e079946e6fd1323e6c050a74b0d3181c229a7012 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sat, 27 Jan 2018 21:02:06 +0100 Subject: [PATCH] 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. --- .build/create-release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.build/create-release.sh b/.build/create-release.sh index 74a94a8..ba8b053 100755 --- a/.build/create-release.sh +++ b/.build/create-release.sh @@ -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..."