Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare binary release #12

Merged
merged 2 commits into from
Jan 9, 2017
Merged

Prepare binary release #12

merged 2 commits into from
Jan 9, 2017

Conversation

lestrrat
Copy link
Contributor

@lestrrat lestrrat commented Jan 8, 2017

Builds on top of #11, and fixes #5

バイナリリリースを作ります。

-ldflags -Xとかはとりあえず使わない、手動と自動のミックスみたいな感じになってます。便利にしたいならしちゃってください。

追加されたmakeアクション

名称 説明
build GOOSとGOARCHを指定して、クロスコンパイルしてくれる。結果は artifacts/$version/schemalex_$GOOS_$GOARCH/schemalex$SUFFIX へ書き出される
all サポートする全てのGOOS/GOARCHでbuildを実行する
release-changes Changesをartifacts/$version/schemalex_$GOOS_$GOARCH/Changesへコピーする
release-readme README.mdをartifacts/$version/schemalex_$GOOS_$GOARCH/README.mdへコピーする
release-files schemalexバイナリ、Changes、README.mdをそれぞれtar.gz/zip等で固めて release/$version/schemalex_$GOOS_$GOARCH.tar.gz等に配置する
release-upload ghr を使って、release/$version 以下のファイルをgithub releaseにアップロードす る

リリース手順

git tag v$versionとかやっておいて

make release-files

確認して…

make release-upload

Github releaseに行き、ドラフトがあるので、そこのメッセージを適時変更して、公開。

@lestrrat lestrrat force-pushed the topic/prepare-binary-release branch 3 times, most recently from 4d58c9a to 1396211 Compare January 9, 2017 00:11
@lestrrat lestrrat force-pushed the topic/prepare-binary-release branch from 1396211 to e368bc0 Compare January 9, 2017 03:13
@lestrrat lestrrat requested a review from soh335 January 9, 2017 03:31
@lestrrat
Copy link
Contributor Author

lestrrat commented Jan 9, 2017

@soh335 レビューお願いします。

タグを打って、リリース文言を整えればすぐだせる感じです。
もし僕がマージ+リリースしちゃっていいならやっちゃいます。

Copy link
Member

@soh335 soh335 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok なのでマージして v0.0.1 リリースしちゃいますね。

@soh335 soh335 merged commit 6da9808 into master Jan 9, 2017
@soh335
Copy link
Member

soh335 commented Jan 9, 2017

@lestrrat lestrrat deleted the topic/prepare-binary-release branch January 9, 2017 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepare to create binary releases
2 participants