Skip to content

Commit

Permalink
Add a propsed procedure for a release
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda committed May 16, 2018
1 parent b42fe62 commit c3d6499
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,25 @@ http://127.0.0.1:4000/ にローカル開発サーバーが起動し、Markdown
1. 受け付けたリリース対象の記事のPull Requestをmergeします。
1. 次のことがTravisでできそうなので、実装すれば良さそう。
- `JEKYLL_ENV=production bundle exec jekyll build`を実行します。
- `_site`にサイトが生成されるので`git commit`して`gh-page`ブランチにcommit、`git push`します。
- `docs`にサイトが生成されるので`git commit`して`gh-page`ブランチにcommit、`git push`します。

上記のようにしているのは、amazonの書影をとるためにpluginを使用しているため。これを解決できれば、特にcloneしなくても動かせるものと考えています。

## rubima.github.io へのリリース

`../rubima.github.io/``rubima/rubima.github.io` が chekout されている場合は下記のような操作をします。

```
$ \cp -pr docs/* ../rubima.github.io/
$ cd ../rubima.github.io/
$ git checkout -b (ブランチ名)
$ git add .
$ git commit
$ git push -u origin (ブランチ名)
```

https://github.com/rubima/rubima.github.io からプルリクエストを作成し`master`ブランチにマージします。

# 移行

URLが`http://magazine.rubyist.net/?xxx`から`https://magazine.rubyist.net/xxx`に変わるため、なんらかの移行作業が必要になるかと思います。
Expand Down

0 comments on commit c3d6499

Please sign in to comment.