From 1a07cdffd174475cdd633b79a39bb6d108fe828d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 31 May 2019 19:56:15 +0200 Subject: [PATCH 1/2] upgrade to 0.9.99999 --- README.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6ea7f13..f61256c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ For user friendly details about Pleroma: [see here](https://blog.soykaf.com/post - Tootdon (Android + iOS) - Tootle (iOS) -**Shipped version:** 0.9.9999 +**Shipped version:** 0.9.99999 ## Important points to read before installing diff --git a/conf/app.src b/conf/app.src index b5a6609..cd01bbe 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/archive/v0.9.9999/pleroma-v0.9.9999.tar.gz -SOURCE_SUM=148bf26c9c28beab7a05e451c93de149a0214470b56465df09bbaed66c1d45c4 +SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/archive/v0.9.99999/pleroma-v0.9.99999.tar.gz +SOURCE_SUM=b79ee12d598a162bc16ebd7ec18ee7b0b78cb623574757ad6a0fe19d6a5a23d4 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 44c8e4c..46be036 100755 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Pleroma is an OStatus-compatible social networking server written in Elixir, compatible with GNU Social and Mastodon", "fr": "Pleroma est un réseau social écrit en Elixir, compatible avec OStatus, GNU Social et Mastodon" }, - "version": "0.9.9999~ynh1", + "version": "0.9.99999~ynh1", "url": "https://git.pleroma.social/pleroma/pleroma", "license": "AGPL-3.0-only", "maintainer": [ From ff980878232430d3ca8d32e7064e66bb32ff0c98 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 1 Jun 2019 07:14:58 +0200 Subject: [PATCH 2/2] backup config before upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 440fa8a..91f5248 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -177,6 +177,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" # MODIFY A CONFIG FILE #================================================= +ynh_backup_if_checksum_is_different --file="$final_path/$app/config/prod.secret.exs" cp -f ../conf/generated_config.exs "$final_path/$app/config/prod.secret.exs" ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/$app/config/prod.secret.exs" @@ -221,7 +222,6 @@ popd # STORE THE CONFIG FILE CHECKSUM #================================================= -ynh_backup_if_checksum_is_different --file="$final_path/$app/config/prod.secret.exs" # Recalculate and store the checksum of the file for the next upgrade. ynh_store_file_checksum --file="$final_path/$app/config/prod.secret.exs"