aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-03-28 20:25:37 +0100
committeryalh76 <yalh@yahoo.com>2020-03-28 20:25:37 +0100
commitede37a92321a7a1d4b5f3dc7b22146aa4a74d120 (patch)
tree75ac7cbcd8beecb5db08bac176efe049a48eeba8 /scripts/upgrade
parent69a8e01cef936064cd38691f6811e571d352df07 (diff)
downloadmastodon_ynh-ede37a92321a7a1d4b5f3dc7b22146aa4a74d120.tar.gz
mastodon_ynh-ede37a92321a7a1d4b5f3dc7b22146aa4a74d120.tar.bz2
mastodon_ynh-ede37a92321a7a1d4b5f3dc7b22146aa4a74d120.zip
Temporary workaround
for https://github.com/tootsuite/mastodon/issues/13292
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 32426a2..0bc44b3 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -184,6 +184,10 @@ then
rsync -a "$final_path/live/.env.production" "$tmpdir/."
ynh_secure_remove --file="$final_path/live/"
ynh_setup_source --dest_dir="$final_path/live"
+
+ # Temporary workaround for https://github.com/tootsuite/mastodon/issues/13292
+ ynh_replace_string --match_string="sidekiq-unique-jobs (6.0.18)" --replace_string="sidekiq-unique-jobs (6.0.20)" --target_file="$final_path/live/Gemfile.lock"
+
if [ -d "$tmpdir/system" ]; then
rsync -a "$tmpdir/system" "$final_path/live/public/."
fi