30
23

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.

【Git-Flow】git-flowのリリース作業手順メモ

Last updated at Posted at 2016-09-15

git-flowのリリース時に使うコマンドを忘れるのでメモる。

git-flowのインストール

準備

やってなければ

git flow init

聞かれることは全部デフォルトのままでOK。

最新のdevelopになっていることを確認する

$ git checkout master
$ git pull -ff origin master
$ git checkout develop
$ git pull -ff origin develop

リリース

$ git flow release start 1.0.0 // 開始。releaseブランチに移る。
$ vim CHANGELOG.md  // CHANGELOGを編集する。変更点とか書く。
$ git add CHANGELOG.md
$ git commit -m "bump version"
$ git flow release finish 1.0.0  // 終了。masterと developにマージされる

とにかくpushする

$ git push origin develop
$ git push origin master
$ git push origin 1.0.0 // タグもpush

参考

30
23
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
30
23

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?