Merge pull request #31 from YunoHost-Apps/ci-auto-update-v5.5.2

Upgrade to version 5.5.2
This commit is contained in:
Sebastian Gumprich
2022-07-27 19:49:24 +00:00
committed by GitHub
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -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 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 **Demo:** https://app.invoiceninja.com/dashboard
+1 -1
View File
@@ -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 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 **Démo :** https://app.invoiceninja.com/dashboard
+2 -2
View File
@@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/invoiceninja/invoiceninja/releases/download/v5.4.12/invoiceninja.zip SOURCE_URL=https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.2/invoiceninja.zip
SOURCE_SUM=0426a014d26b0aa6102c454412e04c04092b8ed8dc65c236a78b4ef5e9d1e577 SOURCE_SUM=64647f6960b64ac42633b65c6b8c108544e2dc845117d3c9f921792474df4ef9
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
+1 -1
View File
@@ -6,7 +6,7 @@
"en": "Create and email invoices, track payments, expenses, and time tasks", "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" "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", "url": "https://invoiceninja.org",
"upstream": { "upstream": {
"license": "Elastic-2.0", "license": "Elastic-2.0",
+10 -4
View File
@@ -21,7 +21,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path)
admin=$(ynh_app_setting_get --app=$app --key=admin) admin=$(ynh_app_setting_get --app=$app --key=admin)
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
language=$(ynh_app_setting_get --app=$app --key=language) 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_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
@@ -133,9 +133,15 @@ ynh_script_progression --message="Upgrading the database..."
pushd "$final_path" pushd "$final_path"
# Clear caches # Clear caches
# https://github.com/invoiceninja/invoiceninja/issues/7397 # https://github.com/invoiceninja/invoiceninja/issues/7397
ynh_secure_remove --file=bootstrap/cache/* ynh_secure_remove --file=$final_path/bootstrap/cache/
ynh_secure_remove --file=storage/framework/cache/* ynh_secure_remove --file=$final_path/storage/framework/cache/
ynh_secure_remove --file=storage/framework/sessions/* 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 # Run the database migrations
php$phpversion artisan migrate --force --no-interaction --verbose php$phpversion artisan migrate --force --no-interaction --verbose