-
Notifications
You must be signed in to change notification settings - Fork 134
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
fix(build): only append -beta
for non-release builds
#810
Conversation
Signed-off-by: Rui Chen <[email protected]>
@chenrui333 Hum... I think this is going to be a problem. We changed a little while back the way releases are done, and they are no longer done from main branch, instead we have "release" branches. I reviewed the v3.9.0 PR yesterday and the "-beta" was removed. My suspicion is that homebrew does it from main? I have added @levb here to comment. |
@levb I think the release process is wrong here. If you use release branches, you have to tag in that branch, not in main. If we follow the tag, the |
@levb From the release page, v3.9.0 points to the commit on the release branch 233ca8e, but this is the one before the update of release version: 28a5948. We should redo as a v3.9.1 to fix all that. @chenrui333 I don't think this PR is necessary, instead, I think this release was just incorrect. But I will @levb have the final word. |
yeah, works for me, but I also raised this question on the tag commit as well. |
since the 3.9.0 release is wrong, can we maybe re-tag it? |
@chenrui333 No, I would prefer to move to v3.9.1 than re-tag. I know this is no Golang, but we had very bad experience in the past because some proxies already captured a given tag and when we re-tagged a release it made a mess. So moving forward we decided to own our mistake and bump the version instead of re-tagging. |
yeah, I would also prefer to have a new release. Should I just close the related homebrew PR for the new release then? Thanks! |
Sure, once @levb release v3.9.1, the homebrew PR can be done. But homebrew has people or automatic processes that submit PRs when detecting a new NATS C release, so we may still have the hombrew PR for v3.9.0 popping before we are ready. |
@chenrui333 @kozlovic This was my mistake to pass |
@chenrui333 https://github.com/nats-io/nats.c/releases/tag/v3.9.1 We add |
close via Homebrew/homebrew-core#192663 |
for 3.9.0, the NATS_VERSION_STRING is
3.9.0-beta
instead of3.9.0
, update the build config to only append-beta
for non-release buildsrelates to Homebrew/homebrew-core#192554