1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

[fix] Error on upgrade with yarn.lock

This commit is contained in:
nemsia 2017-04-28 18:37:00 +02:00 committed by GitHub
parent cb43d5ad98
commit 3623fad03d

View file

@ -45,7 +45,7 @@ git fetch
git pull https://github.com/tootsuite/mastodon.git master git pull https://github.com/tootsuite/mastodon.git master
git checkout $(git tag | tail -n 1) git checkout $(git tag | tail -n 1)
bin/bundle install 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:clean
RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bundle exec rails db:migrate RAILS_ENV=production bundle exec rails db:migrate