1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

herokuでデプロイをロールバックする

Posted at

一世代前にロールバック

$ heroku rollback

ロールバックするバージョンを指定

heroku releaseでバージョン一覧を表示し、バージョン番号(v1..)をrollbackの引数に指定。

$ heroku release

MacBook-Pro-3:sample_app inutty$ heroku releases
=== sample181023 Releases - Current: v9
v9  Rollback to v7                                   aaa@gmail.com  2018/10/26 17:18:48 +0900 (~ 1m ago)
v8  Deploy f447c4b7                                  aaa@gmail.com  2018/10/26 16:57:51 +0900 (~ 22m ago)
v7  Deploy 523a26c5                                  aaa@gmail.com  2018/10/25 12:47:08 +0900
v6  Deploy 6203c079                                  aaa@gmail.com  2018/10/23 12:31:55 +0900
v5  @ref:postgresql-symmetrical-80169 completed pr…  aaa@gmail.com  2018/10/23 12:31:54 +0900
v4  Attach DATABASE (@ref:postgresql-symmetrical-8…  aaa@gmail.com  2018/10/23 12:31:54 +0900
v3  Set LANG, RACK_ENV, RAILS_ENV, RAILS_LOG_TO_ST…  aaa@gmail.com  2018/10/23 12:31:52 +0900
v2  Enable Logplex                                   aaa@gmail.com  2018/10/23 12:22:04 +0900
v1  Initial release                                  aaa@gmail.com  2018/10/23 12:22:03 +0900
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?