mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
fix: do not delete the whole search-indexes dir
This commit is contained in:
parent
0250970de0
commit
0e0e6f436b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
php artisan koel:init --no-interaction
|
||||
sed -i 's/DB_CONNECTION=sqlite/DB_CONNECTION=sqlite-persistent/' .env
|
||||
sed -i 's/DB_DATABASE=koel/DB_DATABASE=koel.db/' .env
|
||||
rm -rf .git ./node_modules ./resources/assets/.git ./resources/assets/node_modules ./storage/search-indexes ./koel.db ./.env
|
||||
rm -rf .git ./node_modules ./resources/assets/.git ./resources/assets/node_modules ./storage/search-indexes/*.index ./koel.db ./.env
|
||||
cd ../
|
||||
zip -r /tmp/koel-${{ steps.get_version.outputs.VERSION }}.zip koel/
|
||||
tar -zcvf /tmp/koel-${{ steps.get_version.outputs.VERSION }}.tar.gz koel/
|
||||
|
|
Loading…
Reference in a new issue