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

alpha リリースや beta リリースしたい #15

Open
p-chan opened this issue Jul 20, 2024 · 12 comments
Open

alpha リリースや beta リリースしたい #15

p-chan opened this issue Jul 20, 2024 · 12 comments

Comments

@p-chan
Copy link
Contributor

p-chan commented Jul 20, 2024

release-please v16.1.0 でサポートされてそう
googleapis/release-please#2083
googleapis/release-please#2107

そのため release-please-action v4 で使えそう

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

ググっても、全く使い方が分からん。
GitHub で調べてみると、実際に利用している例が出てくるので、コレを見てみると良さそう。
https://github.com/search?q=prerelease-type+language%3AJSON&type=code&l=JSON

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

ココらへんのリポジトリが参考になりそう

https://github.com/npm/npm-cli-release-please
https://github.com/maximzavadskiy/test-release-please

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

どこからプレリリースで、どこからリリースとか、どのようにして切り替えているんだろう...?

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

npm/cli の release-please-config.json の変更履歴を見ているけど、どうやら手動で切り替えてる説ある
https://github.com/npm/cli/commits/latest/release-please-config.json

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

あとは実際に試してみるのが早そう

This was referenced Jul 20, 2024
@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

↑ の通り、prerelease を有効にした上で、feat を打ったので、v0.3.0-alpha の PR が生成されるかと思いきや、普通に v0.3.0 の PR が生成されましたとさ...
#18

なぜ?

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

どうしても prerelease に入れない...
#21

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

release-please-action の issue を掘ってみる
https://github.com/googleapis/release-please-action/issues?q=is%3Aissue+prerelease

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

この Issue が似た状況か...?
googleapis/release-please-action#925

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

We had a similar issue with preleases where there was a field called "versioning" that needed to be set to "prerelease" for our beta prereleases to be working. It seems to be documented in the schema but couldn't find it in the manifest README.

ということなので、versioning を追加してみるか

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

v0.5.0 の PR が作成される
#24

@p-chan
Copy link
Contributor Author

p-chan commented Jul 20, 2024

分からぬ

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

No branches or pull requests

1 participant