From 28251c9e48cbf403578de15c38801e5373c89863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 26 Feb 2022 23:37:29 +0100 Subject: [PATCH] Testing (#80) * Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335 --- README.md | 2 +- README_fr.md | 2 +- check_process | 2 +- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 12fa42d..72ce012 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ In addition to constituting an advantage in terms of confidentiality (the data d - Ability to subscribe to channels without creating a Google account -**Shipped version:** 22.02.08~ynh1 +**Shipped version:** 22.02.25~ynh1 **Demo:** https://invidious.site/ diff --git a/README_fr.md b/README_fr.md index 061605c..69630ef 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ En plus de constituer un avantage sur le plan de la confidentialité (les donné - Possibilité d'afficher les commentaires Reddit plutôt que les commentaires YouTube, - Possibilité de s'abonner aux chaines sans créer de compte Google -**Version incluse :** 22.02.08~ynh1 +**Version incluse :** 22.02.25~ynh1 **Démo :** https://invidious.site/ diff --git a/check_process b/check_process index 87aa8cc..da63c8d 100644 --- a/check_process +++ b/check_process @@ -12,7 +12,7 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=d0b65b69558b6a1a98761eb7be0b34b4ccb7d6b3 + #upgrade=1 from_commit=d0b65b69558b6a1a98761eb7be0b34b4ccb7d6b3 backup_restore=1 multi_instance=0 change_url=0 diff --git a/manifest.json b/manifest.json index 9066e9d..5913b69 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Alternative front-end to YouTube", "fr": "Front-end alternatif à YouTube" }, - "version": "22.02.08~ynh1", + "version": "22.02.25~ynh1", "url": "https://invidio.us/", "upstream": { "license": "GPL-3.0-only", diff --git a/scripts/_common.sh b/scripts/_common.sh index d098485..29056b7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -version_commit=170e75499816af460d76d05ce4d440d37a01e0fb +version_commit=081fd541afc9b2f9b821e0f8f4c66dda0839295c # dependencies used by the app pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev" diff --git a/scripts/install b/scripts/install index 27c6ddb..a5ab054 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,7 @@ ynh_add_nginx_config ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60 pushd "$final_path" - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd diff --git a/scripts/upgrade b/scripts/upgrade index 46f2b30..ee39f4a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ then #git checkout master git reset --hard --quiet $version_commit git pull - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd fi