mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
Merge pull request #31 from YunoHost-Apps/ci-auto-update-v5.5.2
Upgrade to version 5.5.2
This commit is contained in:
commit
c8fd5eef36
5 changed files with 15 additions and 9 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Create and email invoices, track payments, expenses, and time tasks
|
||||
|
||||
**Shipped version:** 5.4.12~ynh1
|
||||
**Shipped version:** 5.5.2~ynh1
|
||||
|
||||
**Demo:** https://app.invoiceninja.com/dashboard
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires
|
||||
|
||||
**Version incluse :** 5.4.12~ynh1
|
||||
**Version incluse :** 5.5.2~ynh1
|
||||
|
||||
**Démo :** https://app.invoiceninja.com/dashboard
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/invoiceninja/invoiceninja/releases/download/v5.4.12/invoiceninja.zip
|
||||
SOURCE_SUM=0426a014d26b0aa6102c454412e04c04092b8ed8dc65c236a78b4ef5e9d1e577
|
||||
SOURCE_URL=https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.2/invoiceninja.zip
|
||||
SOURCE_SUM=64647f6960b64ac42633b65c6b8c108544e2dc845117d3c9f921792474df4ef9
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Create and email invoices, track payments, expenses, and time tasks",
|
||||
"fr": "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires"
|
||||
},
|
||||
"version": "5.4.12~ynh1",
|
||||
"version": "5.5.2~ynh1",
|
||||
"url": "https://invoiceninja.org",
|
||||
"upstream": {
|
||||
"license": "Elastic-2.0",
|
||||
|
|
|
@ -21,7 +21,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path)
|
|||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
language=$(ynh_app_setting_get --app=$app --key=language)
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
phpversion=$YNH_PHP_VERSION
|
||||
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||
|
@ -133,9 +133,15 @@ ynh_script_progression --message="Upgrading the database..."
|
|||
pushd "$final_path"
|
||||
# Clear caches
|
||||
# https://github.com/invoiceninja/invoiceninja/issues/7397
|
||||
ynh_secure_remove --file=bootstrap/cache/*
|
||||
ynh_secure_remove --file=storage/framework/cache/*
|
||||
ynh_secure_remove --file=storage/framework/sessions/*
|
||||
ynh_secure_remove --file=$final_path/bootstrap/cache/
|
||||
ynh_secure_remove --file=$final_path/storage/framework/cache/
|
||||
ynh_secure_remove --file=$final_path/storage/framework/sessions/
|
||||
|
||||
mkdir -p $final_path/bootstrap/cache/ $final_path/storage/framework/cache/ $final_path/storage/framework/sessions/
|
||||
|
||||
# clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377)
|
||||
php$phpversion artisan view:clear
|
||||
php$phpversion artisan cache:clear
|
||||
|
||||
# Run the database migrations
|
||||
php$phpversion artisan migrate --force --no-interaction --verbose
|
||||
|
|
Loading…
Reference in a new issue