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

Pre-built binaries are missing from v1.0.3 #1059

Open
suzuki-shunsuke opened this issue Jan 17, 2024 · 0 comments
Open

Pre-built binaries are missing from v1.0.3 #1059

suzuki-shunsuke opened this issue Jan 17, 2024 · 0 comments
Labels
Bug Reports and/or fixes a bug

Comments

@suzuki-shunsuke
Copy link
Contributor

https://github.com/bufbuild/protoc-gen-validate/releases/tag/v1.0.4
https://github.com/bufbuild/protoc-gen-validate/releases/tag/v1.0.3

image

https://github.com/bufbuild/protoc-gen-validate#download-from-github-releases

Installation
Download from GitHub Releases
Download assets from GitHub Releases and unarchive them and add plugins into $PATH.

Could you release pre-built binaries?

@rodaine rodaine added the Bug Reports and/or fixes a bug label Jan 22, 2024
nicksnyder added a commit that referenced this issue Jan 23, 2025
The goal of this change is to fix the symptoms described in the
following two issues:
- #1234
- #1059

It seems the goreleaser action that was triggered by the 1.2.1 tag
thought that the current tag was 1.2.1.SNAPSHOT.0
```
git state    commit=7b06248484ceeaa947e93ca2747eccf336a88ecc branch=HEAD current_tag=v1.2.1-SNAPSHOT.0 previous_tag=v1.2.0
```
Source:
https://github.com/bufbuild/protoc-gen-validate/actions/runs/12916704001/job/36021453853#step:5:21

Basically we ended up with two tags pointing at the same commit and
goreleaser picked one:
goreleaser/goreleaser#4134

We were unnecessarily increasing the likelihood of that happening by
force fetching all tags (which is unnecessary because we will already
have the intended tag fetched that triggered the push), so I removed
that step here:
87dc0be

Additionally, I don't think there is any value in having snapshot tags
at all so I deleted the entire version bump workflow here:
79a4a4f

Furthermore, we had goreleaser configured to publish drafts, which
doesn't make sense if we want to initiate release from the GitHub UI
(which I think we do and is similer/easier) so I deleted all the extra
config here:
56f26d0
The default config is the right thing for us.

Finally there were some settings in setup-go we had configured that have
no effect now, so I removed them:
33528d7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Reports and/or fixes a bug
Projects
None yet
Development

No branches or pull requests

2 participants