diff --git a/README.md b/README.md index 54b1498..cf5562a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ A decentralized and federated platform to organize events -**Shipped version:** 2.1.0.1~ynh3 +**Shipped version:** 2.1.0.1~ynh4 + **Demo:** https://demo.mobilizon.org diff --git a/README_fr.md b/README_fr.md index 61e497d..60e272b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,8 @@ A decentralized and federated platform to organize events -**Version incluse :** 2.1.0.1~ynh3 +**Version incluse :** 2.1.0.1~ynh4 + **Démo :** https://demo.mobilizon.org diff --git a/manifest.json b/manifest.json index f57a97e..3cca8dd 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A decentralized and federated platform to organize events", "fr": "Une plateforme décentralisée et fédérée pour organiser des événements" }, - "version": "2.1.0.1~ynh3", + "version": "2.1.0.1~ynh4", "url": "https://joinmobilizon.org/", "upstream": { "license": "AGPL-3.0-or-later", diff --git a/scripts/upgrade b/scripts/upgrade index 6042070..60d4cc8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -248,6 +248,8 @@ ynh_script_progression --message="Updating a configuration file..." config="/etc/$app/config.exs" ynh_backup_if_checksum_is_different --file="$config" +ynh_replace_string --match_string="adapter: Bamboo.SMTPAdapter," --replace_string="adapter: Swoosh.Adapters.SMTP," --target_file="$config" +ynh_replace_string --match_string="server: \"127.0.0.1\"," --replace_string="relay: \"127.0.0.1\"," --target_file="$config" ynh_store_file_checksum --file="$config" chmod 400 "$config"