1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-19 20:57:53 +02:00

613 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
a93f40b8cf
docs: fix 2024-10-14 14:25:47 -03:00
Carlos Alexandro Becker
4b91ae3589
docs: update 2024-10-14 11:30:16 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
d4b8c6b6e5
docs: improve ko docs
refs #5154
2024-09-25 08:11:44 -03:00
Carlos Alexandro Becker
d3f8bbf31a
fix: snapshot version template should not have the leading 'v'
closes #5142
2024-09-19 23:55:10 -03:00
Carlos Alexandro Becker
1014db44ff
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-09-12 13:21:01 -03:00
Carlos Alexandro Becker
ed866f0531
docs: since 2024-09-07 11:19:56 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
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
Carlos Alexandro Becker
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
Carlos Alexandro Becker
edaf931ad1
docs: improve git semver sorting pro warning
closes #5110
2024-09-03 19:57:07 -03:00
Carlos Alexandro Becker
11aa7cfceb
feat(build): template skip (#5089)
closes #5071
2024-08-18 16:57:59 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
5ac0498125
docs: update 2024-08-05 23:41:28 -03:00
Carlos Alexandro Becker
033f1d3616
docs: update 2024-08-05 23:35:20 -03:00
Carlos Alexandro Becker
2e88163095
docs: fix 2024-08-05 23:28:48 -03:00
Carlos Alexandro Becker
9bddf2bb50
docs: improvements 2024-08-03 16:11:59 -03:00
Carlos Alexandro Becker
b06a33a392
docs: updates 2024-08-03 15:04:49 -03:00
Carlos Alexandro Becker
519ce53ecb
docs: update 2024-08-03 14:49:51 -03:00
Carlos Alexandro Becker
d38e7939d8
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-03 14:42:13 -03:00
Carlos Alexandro Becker
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
Carlos Alexandro Becker
50ee54ac6e
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-03 14:30:10 -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
Carl Tashian
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
Carlos Alexandro Becker
2e9eefb5b9
fix(snapcraft): set confinement to strict by default 2024-07-12 10:04:25 -03:00
Carlos Alexandro Becker
e421f6d10f
docs: improve docs on goamd64
closes #4986
2024-07-11 22:20:27 -03:00
Weston Schmidt
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
Carlos Alexandro Becker
1d9da3f6a8
docs: improvements 2024-07-10 00:03:07 -03:00
Carlos Alexandro Becker
700ff34236
docs: improving docs (#4956)
slowly but steadily fixing a billion warnings
2024-07-08 23:30:10 -03:00
Carlos Alexandro Becker
c81550a5e6
docs: update 2024-07-03 09:35:06 -03:00
Carlos Alexandro Becker
1f1b90025f
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 09:31:08 -03:00
Carlos Alexandro Becker
3353bba5aa
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-22 11:32:10 -03:00
Carlos Alexandro Becker
7656591088
docs: big cleanup (#4943)
- standarize some notations
- remove since v1.* remarks, as we are now in v2
2024-06-19 11:44:22 -03:00
Fedor Korotkov
10d3647caf
docs: fix missing closing quote (#4949)
With the current example build fails with:

> notarize: macos: template: failed to apply "{{ isEnvSet
\"MACOS_SIGN_P12 }}": unterminated quoted string
2024-06-18 15:41:12 -03:00
Carlos Alexandro Becker
6fbe7d5be6
docs: clarify places that might need a PAT
refs #4900
2024-06-15 13:50:11 -03:00
Carlos Alexandro Becker
675629e798
feat: support extra_files in http upload and artifactories (#4940)
closes #4937

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-15 12:21:29 -03:00
Jared Allard
54956c9e80
docs(notarize): use a Application cert not an Installer cert (#4938) 2024-06-15 10:16:20 -03:00
Carlos Alexandro Becker
3e663003b1
feat(blob): allow to upload only extra_files (#4925)
Not happy with the option name tbh... happy to hear suggestions :) 

refs #4921
refs https://github.com/goreleaser/goreleaser/issues/4920

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-12 09:03:36 -03:00
Carlos Alexandro Becker
8244d52f08
docs: clean up nfpm docs 2024-06-11 10:00:38 -03:00
bradenhilton
ac40ce8a80
feat(chocolatey): allow template in copyright, provide ctx.ReleaseNotes (#4858)
<!--

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... -->

This PR allows `chocolateys.copyright` to be templated, and provides
`ctx.ReleaseNotes` as `.Changelog`.

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

Allowing templates for the copyright will enable, for example:

```yaml
chocolateys:
- ...
  copyright: Copyright (c) 1970-{{ .Now.Format "2006" }} Foo Bar
  ...
```

Without this change:

```xml
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
  <metadata>
    ...
    <copyright>Copyright (c) 1970-{{ .Now.Format &#34;2006&#34; }} Foo Bar</copyright>
    ...
  </metadata>
  ...
</package>
```

With this change:

```xml
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
  <metadata>
    ...
    <copyright>Copyright (c) 1970-2024 Foo Bar</copyright>
    ...
  </metadata>
  ...
</package>
```

---

Providing the release notes means they can be placed directly in the
package page instead of linking to them, for example:

```yaml
chocolateys:
- ...
  release_notes: '{{ .Changelog }}'
  ...
```

Without this change:

```console
❯ goreleaser release --skip=sign,announce,publish --clean
  • starting release...
  ...
  • chocolatey packages
    ⨯ release failed after 4s                  error=template: failed to apply "{{ .Changelog }}": template: failed to apply "{{ .Changelog }}": map has no entry for key "Changelog"
```

With this change:

```xml
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
  <metadata>
    ...
    <releaseNotes>## Changelog&#xA;### Other&#xA;* cfa5cbfa5 test&#xA;</releaseNotes>
    ...
  </metadata>
  ...
</package>
```

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

---

These are already supported for WinGet.

There is probably a better way of doing this, and I've probably also
missed something, so feedback is welcome!
2024-06-11 09:29:55 -03:00
Shun Sakai
65a3e06e92
feat(archive): support .tzst suffix (#4870)
See <https://lists.gnu.org/archive/html/info-gnu/2019-01/msg00001.html>:

> When '-a' option is in effect, zstd compression is selected if the
> destination archive name ends in '.zst' or '.tzst'.

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-11 09:25:17 -03:00
Carlos Alexandro Becker
39e62beadc
docs: fix links 2024-06-11 09:22:39 -03:00
Carlos Alexandro Becker
2d54bf0211
feat(notary): allow to sign without notarizing (#4919)
closes #4890

- [x] docs
- [ ] tests
2024-06-11 09:20:48 -03:00
Carlos Alexandro Becker
88a49c5c06
docs: improve docker documentation
closes #4913
2024-06-05 22:10:31 -03:00
Carlos Alexandro Becker
4d9198cafe
docs: update 2024-06-03 22:12:56 -03:00
Lio李歐
2023d4bcc6
docs: fix winget default path (#4875)
<!--

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... -->
Update docs for `winget` to show the default past contains the name as
well.

...

<!-- Why is this change being made? -->
Current doc (and sample value) don't contain the name and this doesn't
match the implementation.

...

<!-- # Provide links to any relevant tickets, URLs or other resources
-->

a82491afe4/internal/pipe/winget/winget.go (L165)
...
2024-05-17 08:44:58 -03:00
Oleksandr Redko
c148106c56
docs: update old Go website links (#4855)
The PR updates the links in the docs, replacing the old `golang.org`
with the new `go.dev`.
2024-05-12 13:22:56 -03:00
Carlos Alexandro Becker
0481e63fb3
docs: remove mentions to --skip-something flags 2024-05-09 23:18:53 -03:00
Maxime VISONNEAU
3c0c7148fd
blob: permit skipping the configuration of the Content-Disposition header (#4832)
This change would allow users to disable the `Content-Disposition`
header that is set for blob storage operations. The application will
continue to set a default value for `Content-Disposition` of
`attachment; filename={{.Filename}}` if no value was provided by the
user. However, with this change, users can now specifically disable this
header by setting the value to "-" in the configuration.

We feel this would be a nice solution for this issue:
https://github.com/Homebrew/brew/issues/15604
2024-05-09 22:13:46 -03:00
Shun Sakai
5d98c69f0f
feat(checksum): supports BLAKE2 and SHA-3 (#4850)
If applied, these commits will allow users to use BLAKE2 (BLAKE2b-512
and BLAKE2s-256) and SHA-3 (SHA3-{224,256,384,512}) as checksum
algorithms.

This is because I think it would be useful if these algorithms could be
used as an alternative to SHA-1 and SHA-2. These algorithms are
standardized as [RFC
7693](https://datatracker.ietf.org/doc/html/rfc7693) (BLAKE2) and [FIPS
PUB
202](https://www.nist.gov/publications/sha-3-standard-permutation-based-hash-and-extendable-output-functions)
(SHA-3).

- <https://en.wikipedia.org/wiki/BLAKE_(hash_function)#BLAKE2>
- <https://en.wikipedia.org/wiki/SHA-3>
2024-05-09 21:45:28 -03:00