1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-04-30 20:19:47 +02:00
Commit Graph

70 Commits

Author SHA1 Message Date
Carlos Alexandro Becker be689affd0 docs: dont include nightlies in releases.json
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-04-27 08:58:24 -03:00
Carlos Alexandro Becker 1f86232752 fix: gen-nix-licenses script
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-04-21 09:15:46 -03:00
Carlos Alexandro Becker 785776ae2e docs: new sponsors tool
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-23 12:13:40 -03:00
Carlos Alexandro Becker 521d96fa37 docs: sponsor aliases
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-23 12:13:40 -03:00
Carlos Alexandro Becker 65216db4db docs: new docs using hugo and hextra (#6474)
- builds with MkDocs are slow
- live reload doesn't really work
- MkDocs v1 is deprecated, v2 breaks everything
- material for MkDocs abandoned MkDocs and started their own thing

that all being said, Hugo is great.

### TODO:

- [x] make sure all links work
- [x] make sure all shorcode usage is replaced
- [x] organize pages a bit more
- [x] update `_redirects` with all the previous paths so they keep
working
- [x] fix merge conflicts 
- [x] see if there's more things we can improve in the meantime
- [x] exclude blog posts from search
- [x] fix cmd docs

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-22 22:48:46 -03:00
Carlos Alexandro Becker 51c359b20a ci: single hook for completions and manpages (#6473)
should be a little bit faster since we only build the binary once

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-03-20 15:36:21 -03:00
Carlos Alexandro Becker 26d008a5ea docs: update sponsors
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-29 10:27:50 -03:00
Carlos Alexandro Becker 9972fd5617 ci: fix sponsors script
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-02 22:19:31 -03:00
Copilot 7ebc59a0a4 docs: Revert sponsor list removal and enforce error handling in update-sponsors.py (#6331)
Commit `70aab3d` incorrectly removed Gold, Silver, and Bronze sponsor
information from documentation files, leaving only a subset of backers.
This reverts that commit.

Additionally, the sponsor update script now fails fast on errors rather
than silently degrading:

- **Require `GITHUB_TOKEN`**: Script exits if environment variable is
missing (was optional)
- **Fail on API errors**: GitHub API failures now fatal instead of
continuing with partial data
- **Validate sponsor data**: Exit if no sponsors found after fetching or
grouping

### Changes

- `README.md`, `www/docs/sponsors.md`, `www/docs/overrides/home.html`:
Restored sponsor listings (123 lines)
- `scripts/update-sponsors.py`: Added error handling for missing token,
empty results, and API failures

### Impact

CI pipelines will now fail explicitly when sponsor data cannot be
generated, preventing silent publication of incomplete sponsor lists.

> [!WARNING]
>
> <details>
> <summary>Firewall rules blocked me from connecting to one or more
addresses (expand for details)</summary>
>
> #### I tried to connect to the following addresses, but was blocked by
firewall rules:
>
> - `api.opencollective.com`
> - Triggering command: `/usr/bin/python3 python3
scripts/update-sponsors.py` (dns block)
>
> If you need me to access, download, or install something from one of
these locations, you can either:
>
> - Configure [Actions setup
steps](https://gh.io/copilot/actions-setup-steps) to set up my
environment, which run before the firewall is enabled
> - Add the appropriate URLs or hosts to the custom allowlist in this
repository's [Copilot coding agent
settings](https://github.com/goreleaser/goreleaser/settings/copilot/coding_agent)
(admins only)
>
> </details>

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> Revert the changes introduced in commit
`70aab3d77d4579e1702d3ececeae29a2ffc4441a` in the `goreleaser`
repository. The commit in question is available at [this
link](https://github.com/goreleaser/goreleaser/commit/70aab3d77d4579e1702d3ececeae29a2ffc4441a).
The revert should focus on undoing these changes without introducing any
unintended side effects.


</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

*This pull request was created from Copilot chat.*
>

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: caarlos0 <245435+caarlos0@users.noreply.github.com>
2026-01-02 18:48:02 -03:00
Carlos Alexandro Becker 97bea15bd0 docs: better sponsors (#6330)
adds a script to auto-generate the sponsors list in readme.md,
sponsors.md, and in our homepage as well.

PS: used AI

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-02 15:05:52 -03:00
Carlos Alexandro Becker 295cda7af7 test: fuzz
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-09-23 16:38:12 -03:00
Carlos Alexandro Becker 9c71861a6e test: fuzz tests for tmpl, artifact
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-09-23 15:56:37 -03:00
Carlos Alexandro Becker b36bde7639 ci: improve get-releases.sh
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-14 11:26:47 -03:00
Carlos Alexandro Becker 4cfab27724 ci: improve script
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-08 21:01:16 -03:00
Carlos Alexandro Becker 529f67321e ci: improve script
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-08 21:00:59 -03:00
Carlos Alexandro Becker e4084f9b6f ci: add task test:golden:update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-08 20:57:21 -03:00
Carlos Alexandro Becker 009c573cc9 docs: use docker and pip instead of nix (#5672)
nix mkdocs stuff is almost always broken, use docker image +
`requirements.txt` for it

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-03-22 12:09:50 -03:00
Carlos Alexandro Becker 66456cb3c3 fix(nix): cleanup, docs updates, test names
refs #5669

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-03-22 11:41:19 -03:00
Carlos Alexandro Becker a345a52f76 ci: publish to npm (#5641)
Use GoReleaser Pro to release GoReleaser OSS.

We were already using it for nightlies, will now do so for stable
releases, too.

Snapshots will still run on `main` with itself.

I plan to add a couple of new repositories with a schedule to regularly
run a more-or-less complete pipeline.
2025-03-13 15:38:05 -03:00
Oleksandr Redko 4ef174a1d8 chore: fix typo in script name (#5256) 2024-11-07 13:33:54 -03:00
Carlos Alexandro Becker 6b645926a8 docs: improve docs (#5006)
closes https://github.com/orgs/goreleaser/discussions/5004

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-17 10:56:36 -03:00
Carlos Alexandro Becker 85cb59c1a0 build: simplify (#4748)
simplify test scripts a bit

- remove tparse
- don't verbose test

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-04-03 14:16:25 -03:00
Carlos Alexandro Becker 87e7cc3647 build: update flake.nix, taskfile 2024-02-12 23:22:55 -03:00
Carlos Alexandro Becker 099345f167 ci: do not include nightly in releases.json
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-02-05 10:19:33 -03:00
Carlos Alexandro Becker 28ced1ddf7 build: remove duplicated schema generation
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-01-02 14:50:11 -03:00
Carlos Alexandro Becker 0c90fb420b build: fix generate workflow
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-26 13:18:46 -03:00
Carlos Alexandro Becker dda1c708ae feat(nix): validate licenses (#4497)
this will check if the license provided by the user is a valid one.

valid list of licenses is generated from nix's source code.

closes #4496
2023-12-26 08:37:44 -03:00
Carlos Alexandro Becker f62adf23ff docs: blog (#4264)
Starting to move the blog from medium to mkdocs!

closes #3503

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-14 13:53:40 -03:00
Carlos Alexandro Becker 56dfb8b5b0 docs: include markdown plugin (#4098)
I was really tired of copying and pasting that over and over again and
keeping it all in sync...

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-13 23:25:18 -03:00
Carlos A Becker 938edc4131 docs: fix releases.json
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-02 15:16:33 -03:00
Carlos Alexandro Becker f238d9698f docs: remove vercel (#3672)
merge after 48h to ensure DNS is propagated.

before merging, delete site on vercel.com


refs https://github.com/goreleaser/goreleaser/issues/3502

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 21:05:22 -03:00
Carlos Alexandro Becker 232c982fb0 docs: improve build (#3674)
- generate releases.json et al on our github actions workflow
- use those when building and also on our `run` script
- new releases will dispatch the workflow so it re-generates the needed
files

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 14:55:45 -03:00
Carlos A Becker c714e13a84 docs: deploy to cloudflare pages
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 11:11:28 -03:00
Carlos A Becker 97ca41684d docs: ensure pip is up to date
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-08 00:15:24 -03:00
Carlos A Becker ed30c4e2db docs: /twitter, discord, linkedin etc 2022-11-08 00:06:24 -03:00
Carlos A Becker 5759d7fb92 fix: git safe directory
closes #3233

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-12 09:42:23 -03:00
Carlos Alexandro Becker 042c63884c feat: login into gitlab registry (#3296)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-07 22:39:03 -03:00
Artur Troian 02a3486d4b fix(build): set workdir as safe for git when running docker image (#3229)
prevents git from panic when running goreleaser as docker in CI env

Signed-off-by: Artur Troian <troian.ap@gmail.com>
2022-07-06 23:48:17 -03:00
Carlos Alexandro Becker d58a3e72c3 chore(ci): improve tparse output (#3193)
* chore(ci): improve tparse output

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* chore(ci): improve tparse output

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-24 09:33:34 -03:00
Carlos Alexandro Becker 750d520638 feat: make goreleaser.deb pass lintian validations (#2883)
* feat: make pkg pass lintian validations

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: lintian issues

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: bash completions

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 18:02:06 -03:00
Carlos Alexandro Becker e661f22993 fix: pre-commit hook (#2849)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-26 22:12:02 -03:00
Carlos Alexandro Becker ae583453a7 feat: manpages (#2837)
* feat: manpages

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: section

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: use mango instead

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improvements

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: unused

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-18 10:17:52 -03:00
Carlos Alexandro Becker 8faf7dbe55 docs: fix version in docs (#2681)
* docs: fix version in docs

* fix: script

* docs: improve install

* fix: curl

* fix: get releases

* docs: instructions

* docs: instructions
2021-11-22 09:39:16 -03:00
Carlos A Becker a0a0050f5e docs: fix releases.json 2021-11-17 00:04:04 -03:00
Patrick Hahn e5a9e18050 feat(schema): add command that generates jsonschema (#2589)
* feat(schema): Add command that generates the jsonschema for .goreleaser.yml files

This commit adds the jsonschema/schema subcommand that generates a jsonschema doc based on the Project go struct.
For the config types that alternatively allow you to specify a string via custom UnmarshalYAML function, this commit adds the JSONSchemaType function, so the type gets documented with an oneOf with string or itself.
Add yaml key names for properties that are currently missing them, so alecthomas/jsonschema generates the keys with correct casing.

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: Add linguist-generated attribute to generated schema json to exclude this file from pull request size validation

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: run gofumpt

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* chore(schema): update alecthomas/jsonschema and regenerate schema.json

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
2021-10-26 15:02:03 -03:00
Carlos A Becker c456654778 fix: ignore 409 when pushing to fury.io
closes #2560

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-06 01:16:05 -03:00
Carlos A Becker f4a751579a chore(ci): update taskfile, rm makefile
refs #2557

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-05 20:20:23 -03:00
Artur Troian f9cea01cfc fix: run goreleaser via exec to handle ctrl+c (#2525)
Signed-off-by: Artur Troian <troian.ap@gmail.com>
2021-09-27 11:57:41 -03:00
Carlos Alexandro Becker 2a304f5932 chore: improve pre-commit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:21:22 -03:00
Carlos Alexandro Becker 3b6d12656d chore: pre-commit hook
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:05:59 -03:00