From 3623fad03d0c7767a49cc1f09a11ccf1f60f7d85 Mon Sep 17 00:00:00 2001 From: nemsia Date: Fri, 28 Apr 2017 18:37:00 +0200 Subject: [PATCH] [fix] Error on upgrade with yarn.lock --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index bd9c46a..f909d05 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,7 +45,7 @@ git fetch git pull https://github.com/tootsuite/mastodon.git master git checkout $(git tag | tail -n 1) bin/bundle install -yarn install --production +yarn install --pure-lockfile RAILS_ENV=production bundle exec rails assets:clean RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails db:migrate