2024/04/20 ~ 2024/04/26 のもくもく日記
もくもく 前回までは
2024/04/13 ~ 2024/04/19 のもくもく日記 をご覧ください。
途中経過
その1
GitHub CLI に入門しているのだけど、自分の場合はこの辺りで活用できそうなことが分かった
- 最新のgit tag の取得
- 付与しようとしているgit tag の重複チェック
- マージPR 用のリリースノート自動生成
で、色々調整した結果、GitHub Actions でリリース用のPull Request を作成し、さらに変更内容を確認できるようになった。
https://github.com/tshion/yumemi-inc_android-engineer-codecheck/pull/186
その2
GitHub Actions のワークフローから、
GitHub REST API の /releases/generate-notes を叩いてみたら、
contents:write
の権限を書き忘れて失敗してしまったorz
その3
GitHub Actions の自作ワークフローで、
bash を使ってJSON の中身を取り出そうとしたけど、
よく考えたらGitHub Actions が提供する fromJson()
を使った方が楽そうw
https://stackoverflow.com/questions/61919141/read-json-file-in-github-actions/61919791#61919791
今回の進捗
- GitHub
- Nintendo Switch でトレーニングを進めた
- 本を読み進めた
※関連SNS
- https://x.com/shion_engineer/status/1781652910960738504
- https://x.com/shion_engineer/status/1781856776729829643
- https://x.com/shion_engineer/status/1782984975065002051
- https://x.com/shion_engineer/status/1783087154530546041
- https://x.com/shion_engineer/status/1783089088759058534
- https://x.com/shion_engineer/status/1783372621226401863
- https://x.com/shion_engineer/status/1783419979611922710