From 58c5a5ff0c2cc3fa081a3a5670597fde040ee26b Mon Sep 17 00:00:00 2001 From: Yalh Date: Fri, 25 Jan 2019 18:16:43 +0100 Subject: [PATCH] Upgrade to v0.8.0 --- README.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- scripts/upgrade | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 599d900..f721b94 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Can be run as Single User Blog or Multi User Instance. Each User can be limited from 1 to unlimited blogs. -**Shipped version:** v0.7.1 +**Shipped version:** v0.8.0 ## Licence diff --git a/conf/app.src b/conf/app.src index 3edfe58..5f55950 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.7.1/writefreely_0.7.1_linux_amd64.tar.gz -SOURCE_SUM=c1083c6d35f3e4b5119da882bd30b6f5f689c7b0e19ba59bc10cf9d31ed66df9 +SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.8.0/writefreely_0.8.0_linux_amd64.tar.gz +SOURCE_SUM=ed1020692bdb96e3d3fc52605d089f26153edfb5dc2822b4da03fcc351c1e841 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=false diff --git a/manifest.json b/manifest.json index 7571353..872da58 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Write Freely is free and open source software for starting a minimalist, federated blog — or an entire community.", "fr": "Write Freely est un logiciel gratuit et à code source ouvert permettant de créer un blog fédéré minimaliste ou une communauté entière." }, - "version": "0.7.1~ynh2", + "version": "0.8.0~ynh2", "url": "https://writefreely.org", "license": "free", "maintainer": { diff --git a/scripts/upgrade b/scripts/upgrade index daa376e..f60322d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -121,9 +121,11 @@ ynh_system_user_create $app #================================================= # SPECIFIC UPGRADE #================================================= -# ... +# MAKE UPGRADE #================================================= +( cd $final_path && $final_path/writefreely --migrate ) + ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. ynh_backup_if_checksum_is_different "$final_path/config.ini"