1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-01 00:54:57 +02:00

632 Commits

Author SHA1 Message Date
cc235d27a7 Update www/docs/customization/builds.md
Co-authored-by: Vedant Mohan Goyal <83997633+vedantmgoyal9@users.noreply.github.com>
2024-12-01 18:26:36 -03:00
0db0b75258 docs: update 2024-12-01 17:55:34 -03:00
112974e7e4 docs: clarify build.overrides
refs #5322
2024-11-29 15:08:15 -03:00
0357cfecc5 docs: improve a little bit 2024-11-29 13:06:52 -03:00
a23c9df16b docs: minor docs improvements (#5320)
- better styling
- short codes
- no 404 on unreleased `Since: ` block
2024-11-29 11:17:45 -03:00
e6a5a258c5 docs: fix shortcode 2024-11-29 00:17:45 -03:00
77bbddf64b feat(announce): implement expected_status_codes for webhooks (#5317)
fixes #5316
2024-11-28 22:46:55 -03:00
09be848e1a feat(build): initial support for zig (#5312)
Continuing on #5308 and #5307, this finally adds Zig support to
GoReleaser!

Things are very raw still, plenty of use cases to test (please do test
on your project if you can), but it does work at least for simple
projects!

A release done by this:
https://github.com/goreleaser/example-zig/releases/tag/v0.1.0

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-11-28 08:47:20 -03:00
f247d7d38c feat(template): allow to use .Target (#5308)
This will also come in handy for multiple languages support (#5307).

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-11-25 23:41:00 -03:00
2bf08f11a6 ci: run build/test workflow on windows too (#5263)
Maybe 3rd time is the charm!

This makes the CI build run on windows too, and fix broken tests/featuers on Windows.

Most of the changes are related to ignoring certain tests on windows, or making sure to use the right path separators.

More work to do in the future, probably!

#4293

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-11-16 10:30:39 -03:00
fac5e48c77 fix: URL escape tags in github, gitlab, and gitea (#5283)
refs #5282
2024-11-15 10:39:05 -03:00
befa144da9 docs: clarify some things about ko templates
refs #5247
2024-11-06 22:54:16 -03:00
431b18f6ee docs: update builds 2024-11-04 08:31:53 -03:00
2f2ae3007a docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-11-03 13:36:31 -03:00
d722aac36b feat(ko): support annotations and user (#5227)
Add support for the newly added annotations and user options in [ko
v0.17.0](https://github.com/ko-build/ko/releases/tag/v0.17.0)
2024-10-27 16:01:09 -03:00
ca5ad8c5ed docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-10-26 14:06:55 -03:00
248c7fcb5f docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-10-16 01:22:12 -03:00
24c6060050 fix: standardize .Ext to always have the preceding . (#5207)
historically this is kind of a mess, some places set the prefixed ext
(e.g. `.exe`) others don't (e.g. `msi`)

this standardize it to have the preceding `.`

also makes `ByExt` works with or without it so it doesn't break anyone's
config.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-10-15 14:57:27 -03:00
7f50679c4b docs: update 2024-10-14 23:50:45 -03:00
a93f40b8cf docs: fix 2024-10-14 14:25:47 -03:00
4b91ae3589 docs: update 2024-10-14 11:30:16 -03:00
d583861e06 feat(build): add GO386, GOMIPS64, GORISCV64, and GOPPC64 support (#5186)
continuing the work of #5153

closes #5153

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: 世界 <i@sekai.icu>
2024-10-14 09:40:10 -03:00
d4b8c6b6e5 docs: improve ko docs
refs #5154
2024-09-25 08:11:44 -03:00
d3f8bbf31a fix: snapshot version template should not have the leading 'v'
closes #5142
2024-09-19 23:55:10 -03:00
1014db44ff docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-12 13:21:01 -03:00
ed866f0531 docs: since 2024-09-07 11:19:56 -03:00
708cd8904d feat(ko): snapshot builds (#5116)
this makes ko run on snapshot builds, too.

the image will be `goreleaser.ko.local:[your tags]`, not sure if we can
change this, seems like we can't.

also fixed a small doc error around it, as well as added a new test to
cover this.

closes #4683

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-07 11:15:48 -03:00
e8da87cecb feat(tmpl): IsSingleTarget (#5122)
refs #5024

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-07 11:09:21 -03:00
301b193e6e feat(build): templateable no_unique_dist_dir (#5115)
closes https://github.com/goreleaser/goreleaser/issues/5024

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-07 11:09:06 -03:00
edaf931ad1 docs: improve git semver sorting pro warning
closes #5110
2024-09-03 19:57:07 -03:00
11aa7cfceb feat(build): template skip (#5089)
closes #5071
2024-08-18 16:57:59 -03:00
47ff67b252 feat(deps): update ko and gocloud.dev (#5063)
cyclonedx and go.version-m were removed from latest ko version

https://github.com/ko-build/ko/pull/1333

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-09 19:51:02 -03:00
5ac0498125 docs: update 2024-08-05 23:41:28 -03:00
033f1d3616 docs: update 2024-08-05 23:35:20 -03:00
2e88163095 docs: fix 2024-08-05 23:28:48 -03:00
9bddf2bb50 docs: improvements 2024-08-03 16:11:59 -03:00
b06a33a392 docs: updates 2024-08-03 15:04:49 -03:00
519ce53ecb docs: update 2024-08-03 14:49:51 -03:00
d38e7939d8 docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-03 14:42:13 -03:00
a8916c080e feat: binary signs (#5018)
this is different from the default signs, in the sense that this will
sign the binaries even if archive mode is not set to binary.

refs https://github.com/orgs/goreleaser/discussions/4989

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-03 14:36:54 -03:00
50ee54ac6e docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-03 14:30:10 -03:00
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
ff33256b6a docs: blob.md neq -> ne (#4991)
I was looking at this example and looking at the text/template docs, and
I got confused.
Turns out there is no `neq` function available.
2024-07-12 13:46:10 -03:00
2e9eefb5b9 fix(snapcraft): set confinement to strict by default 2024-07-12 10:04:25 -03:00
e421f6d10f docs: improve docs on goamd64
closes #4986
2024-07-11 22:20:27 -03:00
cc114fc8b9 feat(nfpm): add support for ipk package format (#4863)
Adds code to expose the ipk configuration values and registers the ipk
package format with nfpm.

Updates the documentation with how to use the new ipk specific
configuration parameters.

**This isn't ready to merge, but I have some questions**

1. I copied the `TestIPKSpecificConfig()`
([code](https://github.com/goreleaser/goreleaser/compare/main...schmidtw:goreleaser:main#diff-912a4af69daf4d89537b6bea43a1b7fe65683128ea1be66d6ec77046c76d064dR1358))
from the `TestAPKSpecificConfig()` and found it only is really testing
if specific scripts are there or not. Since IPK doesn't have any
additional scripts, just fields in one file do I need this test
function? Is there a better way to validate the output?
2. I have run into issues where the tests expect `goreleaser` to be the
org & repo - is there a way to override this in my fork without changing
the code?
3. Is the `ToNFPAlts()` and `ToNFP()` living in the config.go file ok?
There wasn't much code in that file, so I figured I'd ask if you'd
rather this code be elsewhere.

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-11 21:57:33 -03:00
1d9da3f6a8 docs: improvements 2024-07-10 00:03:07 -03:00
700ff34236 docs: improving docs (#4956)
slowly but steadily fixing a billion warnings
2024-07-08 23:30:10 -03:00
c81550a5e6 docs: update 2024-07-03 09:35:06 -03:00
1f1b90025f docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 09:31:08 -03:00