Unverified Commit 088f0602 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix upgrader

It created branch based on current branch which is an old version
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 00b1e78bc99a
......@@ -51,7 +51,7 @@ def update_commands
"Stash changed files" => "git stash",
"Get latest code" => "git fetch",
"Switch to new version" => "git checkout -b v#{latest_version}",
"Switch to new version" => "git checkout v#{latest_version}",
"Install gems" => "bundle",
"Migrate DB" => "bundle exec rake db:migrate RAILS_ENV=production",
"Recompile assets" => "bundle exec rake assets:clean assets:precompile RAILS_ENV=production",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment