aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-28 18:37:00 +0200
committerGitHub <noreply@github.com>2017-04-28 18:37:00 +0200
commit3623fad03d0c7767a49cc1f09a11ccf1f60f7d85 (patch)
tree530d9baaa702a3c43e1b18c3b4adca84c3ca6515 /scripts/upgrade
parentcb43d5ad98325ac3f5956a9ff0838f555302b452 (diff)
downloadmastodon_ynh-3623fad03d0c7767a49cc1f09a11ccf1f60f7d85.tar.gz
mastodon_ynh-3623fad03d0c7767a49cc1f09a11ccf1f60f7d85.tar.bz2
mastodon_ynh-3623fad03d0c7767a49cc1f09a11ccf1f60f7d85.zip
[fix] Error on upgrade with yarn.lock
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
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