-
Notifications
You must be signed in to change notification settings - Fork 135
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
Publish release binaries to releases.hashicorp.com #49
Comments
I'd expect We could plug it into the existing GitHub Action either as a next step after GoReleaser, or send a patch to GoReleaser to support global post hooks, similar to pre-hooks: https://goreleaser.com/customization/#Global%20Hooks |
I think probably easiest to just chain it afterwards in the GitHub action unless there is some context you'd want to reuse that goreleaser would provide? |
The benefit of reusing GoReleaser pipeline is that we could publish Homebrew/Scoop formula with our releases.hashicorp.com URLs, which make it much easier for us to track downloads in much more detailed way - including the ability to segment downloads via Homebrew or Scoop. Technically we could do that even without any GoReleaser patches, but we'd be publishing Homebrew/Scoop updates before the binaries are actually uploaded and available, which is a bit awkward. Download tracking via GitHub API is currently very minimal as it doesn't go beyond a single number representing total download count 😑 , so we wouldn't be able to identify Homebrew or Scoop downloads that way and tracking weekly or monthly downloads would also be more difficult. |
I created goreleaser/goreleaser#1460 to gather some preliminary feedback on a potential upstream patch that could support this integration. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
In addition to the GitHub release.
We should also build the JSON index as well to determine latest version.
The text was updated successfully, but these errors were encountered: