Open8

release-please を触る

odanodan
npx release-please bootstrap --token=$(gh auth token) --repo-url=odan-sandbox/release-please-sandbox --release-type=node
odanodan

これで config を生成するプルリクが作成される

直接生成するんじゃなくてプルリク経由なの、main ブランチには直接コミットしないぞという気持ちが感じられて良い

odanodan

初期バージョンを 0.1.0 にしたいけどうまくいかない

類似 issue
https://github.com/googleapis/release-please/issues/558

If there is a previous tag exists. If the tag set in v0.x.x, then the bump-minor-pre-major will work. (https://github.com/yi-Xu-0100/test-repo/pull/2)

らしい

ただこの問題は https://github.com/googleapis/release-please/pull/776 で解決されていそう

"bump-minor-pre-major": true の場合は defaultInitialVersion が 0.1.0 になる

odanodan

やはり GitHub Actions 経由でタグを作るとタグの push に紐づく Workflow が発火しない