فهرست منبع

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 سال پیش
والد
کامیت
e079946e6f
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  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-theme ^$VERSION_MILESTONE" \
     "picocms/pico-deprecated ^$VERSION_MILESTONE"
     "picocms/pico-deprecated ^$VERSION_MILESTONE"
 
 
-echo "Removing '.git' directory and '.gitignore' file..."
-rm -f .gitignore
+echo "Removing '.git' directory..."
 rm -rf .git
 rm -rf .git
 
 
 echo "Removing '.git' directories of dependencies..."
 echo "Removing '.git' directories of dependencies..."