mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-18 04:32:23 +03:00
Remove the git folder of the build directory only
This commit is contained in:
parent
a4d04d9763
commit
1fcaeb462f
1 changed files with 1 additions and 2 deletions
|
@ -65,10 +65,9 @@ function archive(done) {
|
|||
|
||||
childProcess.execSync('cd build && composer install --no-interaction --no-dev --no-scripts --optimize-autoloader');
|
||||
|
||||
del.sync('**/.DS_Store');
|
||||
fs.removeSync('build/composer.lock');
|
||||
del.sync('**/.DS_Store');
|
||||
del.sync('**/.git');
|
||||
del.sync('build/**/.git');
|
||||
|
||||
zip('build', {saveTo: filename}, function (error) {
|
||||
if (error) {
|
||||
|
|
Loading…
Reference in a new issue