From 05915f39efc4d49e47b3c77e9e1565fd612d61ad Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 24 Feb 2019 15:15:43 +0100 Subject: [PATCH] Upgrade to 0.9.9 --- README.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- scripts/install | 3 +-- scripts/upgrade | 6 +----- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ef7188c..3cd42fb 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.0 +**Shipped version:** 0.9.9 ## Important points to read before installing diff --git a/conf/app.src b/conf/app.src index e4dd89f..6e673f7 100755 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=url of app's source -SOURCE_SUM=sha256 checksum +SOURCE_URL=https://git.pleroma.social/pleroma/pleroma/-/archive/v0.9.9/pleroma-v0.9.9.tar.gz +SOURCE_SUM=21a25c34cfd9399e6b2feed570ea67f1f61a14304fadabb0283a03724b076a5f SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 482e2e9..c29709e 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.0~ynh4", + "version": "0.9.9~ynh1", "url": "https://git.pleroma.social/pleroma/pleroma", "license": "AGPL-3.0-only", "maintainer": { diff --git a/scripts/install b/scripts/install index 6ea7a71..aba974d 100755 --- a/scripts/install +++ b/scripts/install @@ -172,8 +172,7 @@ ynh_print_info "Setting up source files ..." ynh_app_setting_set $app final_path $final_path # Download, check integrity, uncompress and patch the source from app.src -#ynh_setup_source "$final_path/$app" -git clone https://git.pleroma.social/pleroma/pleroma "$final_path/$app" +ynh_setup_source "$final_path/$app" #================================================= # NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 8b74dde..fe8df2b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,11 +109,7 @@ path_url=$(ynh_normalize_url_path $path_url) ynh_print_info "Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src -#ynh_setup_source "$final_path/$app" -pushd $final_path/$app - git reset --hard - git pull --quiet -popd +ynh_setup_source "$final_path/$app" #================================================= # NGINX CONFIGURATION