-
Notifications
You must be signed in to change notification settings - Fork 0
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
Publish packages via GitHub Actions #14
Comments
最新の注釈付きタグを取得するコマンド
ただしタグを打った時点では、前のタグを返してしまうバグがある模様。(現時点では Not Fixed.) |
タグ名を取得する方法 |
テスト用に v0.1.0 タグを打った |
master branch -> git describe --tag で、バージョン取得できそう |
ビルド番号に悩み中... einaregilsson/build-number@v3 が使えるかも?と試したが、タグを打つことでビルド番号を生成している模様。 |
これまでに打ったタグでわかるかなと思ったけど、タグ打った時点ではそのタグは無視される不具合があるらしいので微妙かも。
|
何度かお試しで作っていることで、Package公開する方法を把握した ついでに Pages のやり方も別途把握、mdファイルをよしなにhtmlに変換してくれる。 |
EndBug/add-and-commit@v7 で自動コミット追加できることを把握。 ReleaseをトリガーにデプロイCI回すと、↑のコミットでRelease Tagが最新コミットじゃなくなくなってしまう。 |
GitHub Actions からの Release https://github.com/actions/create-release |
リリースデプロイの大まかな流れ 前提
トリガー方法
GitHub Actions の流れ
|
* Add library publishing to build.gradle * Add properties of versionName and versionCode
* Change YML for test build. * Target branch: develop
* Add _config.yml for page theme * Add _version.yml for managing version of release deploy * Add docs/index.html for creating docs directory.
Publish packages via GitHub Actions #14
CI 自動デプロイOK。DOCアップデート、リリースも一通りできている。 ただし1点残念なのが、タグのターゲットがマージコミットハッシュのままであること。 |
Publish packages via GitHub Actions 2 #14
タグの付与先を master に指定することで、想定どおりのデプロイが完成した。 |
概要
実装方針
参考資料 or 関連issues
The text was updated successfully, but these errors were encountered: