Browse Source

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.
Daniel Rudolf 7 năm trước cách đây
mục cha
commit
e079946e6f
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      .build/create-release.sh

+ 1 - 2
.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..."