Upgrade Mastodon by one line of cli code,
– Just changing checkout v4.6.5 to v4.6.x to upgrade to newer version from Github code base of Mastodon
cd /home/mastodon/live && git fetch && git checkout v4.6.5 && RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install && bundle install && yarn install && RAILS_ENV=production bundle exec rails assets:precompile && SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate && RAILS_ENV=production bundle exec rails db:migrate
