From 55576815acb4d40fc1fa335ccd8ef17680dadc97 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 1 Jun 2019 07:18:36 +0200 Subject: [PATCH 1/2] backup configuration before upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 523da73..e9855f8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,6 +139,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path" # MODIFY A CONFIG FILE #================================================= +ynh_backup_if_checksum_is_different --file="$final_path/config.yml" cp -f ../conf/config.sample.yml "$final_path/config.yml" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.yml" @@ -149,7 +150,6 @@ ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --ta # STORE THE CONFIG FILE CHECKSUM #================================================= -ynh_backup_if_checksum_is_different --file="$final_path/config.yml" # Recalculate and store the checksum of the file for the next upgrade. ynh_store_file_checksum --file="$final_path/config.yml" From e4f5e1bf3736f5cb5a0bba69dd77b23937a2120b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 3 Jun 2019 22:47:01 +0200 Subject: [PATCH 2/2] Update 2.0.0-beta.174 --- 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 3b5e458..da5846b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ An open source, modern and powerful wiki app built on Node.js, Git and Markdown **Wiki.js** require a dedicated **root domain**, eg. wikijs.domain.tld -**Shipped version:** 2.0.0-beta.148 +**Shipped version:** 2.0.0-beta.174 ## Screenshots diff --git a/conf/app.src b/conf/app.src index 17a0cad..d4f62a2 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.148/wiki-js.tar.gz -SOURCE_SUM=c8659cf57ea0b582aedc23c3c476a6d70603313834134bc8dbc7be2831e3e2c9 +SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.174/wiki-js.tar.gz +SOURCE_SUM=34001cda470c5154d4539871267418b849b8e15b0fbe8cf7ffdae92d12b88c5e SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=false diff --git a/manifest.json b/manifest.json index fb715c3..792d866 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown.", "fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown." }, - "version": "2.0.0-beta.148~ynh1", + "version": "2.0.0-beta.174~ynh1", "url": "https://wiki.js.org/", "license": "AGPL-3.0-or-later", "maintainer": {