1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
Deliver Go binaries as fast and easily as possible https://goreleaser.com/
Go to file
Brian Strauch 306999b78b
fix: sort order of brew artifacts (#4617)
<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->


<!-- If applied, this commit will... -->

Fix the order in which brew artifacts are sorted.

<!-- Why is this change being made? -->

* The order occasionally switches, which results in a larger diff:
https://github.com/confluentinc/homebrew-tap/pull/41
* The artifacts are already grouped by OS before `lessFnFor()` is
called, so `list[i].OS > list[j].OS` always evaluates to `false` and the
order remains unchanged. This PR removes that statement.
* It looks like a `map` is used earlier, while filtering the artifacts,
which might explain why the order occasionally switches.
* Update the remaining statement in `lessFnFor()` to actually use `<` as
the function suggests.

<!-- # Provide links to any relevant tickets, URLs or other resources
-->
2024-02-09 08:12:02 -03:00
.github chore(deps): bump arduino/setup-task from 1.0.3 to 2.0.0 (#4607) 2024-02-07 08:53:51 -03:00
cmd feat: store which action is being taken in the context (#4508) 2023-12-29 15:22:03 -03:00
internal fix: sort order of brew artifacts (#4617) 2024-02-09 08:12:02 -03:00
pkg feat(nfpm): support libraries (#4587) 2024-01-31 07:26:25 -03:00
scripts ci: do not include nightly in releases.json 2024-02-05 10:19:33 -03:00
testdata/TestVersion fix: version git tree state 2023-06-27 11:35:06 +00:00
www docs: update 2024-02-05 21:43:44 -03:00
.editorconfig chore: fix typo in .editorconfig 2024-01-24 08:00:52 -03:00
.envrc build: nix devShell (#4507) 2023-12-28 20:49:23 -03:00
.gitattributes feat: nix support (#4012) 2023-05-25 23:07:10 -03:00
.gitignore build: nix devShell (#4507) 2023-12-28 20:49:23 -03:00
.gitleaks.toml
.golangci.yaml test: run testifylint -fix (#4483) 2023-12-17 15:34:28 -03:00
.goreleaser-nightly.yaml build: release nightly every Thursday (#4211) 2023-08-02 23:17:03 -03:00
.goreleaser.yaml ci: improve changelog 2024-01-29 20:48:33 -03:00
.grype.yaml fix(grype): ignore unfixed vulns 2022-08-21 15:36:37 -03:00
.mailmap chore: update mailmap 2022-10-31 16:06:50 -03:00
art.txt feat: new --version output (#3962) 2023-04-30 14:19:55 -03:00
CONTRIBUTING.md docs: update CONTRIBUTING.md add upx as optional prerequesite (#4427) 2023-11-18 09:49:45 -03:00
Dockerfile chore(deps): bump golang from 1.21.6-alpine to 1.22.0-alpine (#4611) 2024-02-08 10:21:48 -03:00
EULA.md docs: make co-marketing more strict on eula (#3583) 2022-11-22 23:54:11 -03:00
flake.lock build: nix devShell (#4507) 2023-12-28 20:49:23 -03:00
flake.nix build(nix): shell dont need CC 2024-02-04 20:02:35 -03:00
go.mod chore(deps): bump github.com/distribution/distribution/v3 from 3.0.0-20221021092657-c47a966fded8 to 3.0.0-alpha.1 (#4604) 2024-02-08 10:22:12 -03:00
go.sum chore(deps): bump github.com/distribution/distribution/v3 from 3.0.0-20221021092657-c47a966fded8 to 3.0.0-alpha.1 (#4604) 2024-02-08 10:22:12 -03:00
LICENSE.md
main_test.go fix: version git tree state 2023-06-27 11:35:06 +00:00
main.go chore: remove comment about WSL failure (#4201) 2023-07-20 17:01:59 -03:00
README.md docs: udpate starcharts url 2024-01-05 10:06:56 -03:00
SECURITY.md docs: fix typos, formatting 2023-10-02 18:04:20 +00:00
Taskfile.yml fix: invalid jsonschema 2023-12-31 14:43:39 -03:00
USERS.md docs: updated the GitHub Code Search syntax (#4579) 2024-01-27 08:50:45 -03:00

GoReleaser Logo

GoReleaser

Deliver Go binaries as fast and easily as possible.


GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a tap repository. All that wrapped in your favorite CI.


Get GoReleaser

Documentation

Documentation is hosted live at https://goreleaser.com

Community

You have questions, need support and or just want to talk about GoReleaser?

Here are ways to get in touch with the GoReleaser community:

Join Discord Follow Twitter GitHub Discussions

You can find the links above and all others here.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines for further information.

Badges

Release Software License Build status Codecov branch Artifact Hub Go Doc Powered By: GoReleaser Backers on Open Collective Sponsors on Open Collective Conventional Commits CII Best Practices

GitHub Sponsors

High-tier sponsors of @caarlos0 on GitHub:

OpenCollective

Sponsors

Does your company use goreleaser? Help keep the project bug-free and feature rich by sponsoring the project.

Backers

Love our work and community? Become a backer.

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Stargazers over time

Stargazers over time