1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
Commit Graph

1501 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
86b3c943d0
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-22 11:31:19 -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
8ad6b3479b
docs: clarify install instructions for apk, deb, and rpm
closes #4923
2024-06-15 16:41:30 -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
actions-user
1e076de708 chore: auto-update generated files 2024-06-11 02:37:45 +00:00
Jeffrey Cafferata
f588b07adc
docs: added the missing deprecation notices deep link to v2 section (#4922)
Added the missing deprecation notices deep link to v2 section.

> If you keep up with the [deprecation notices][notices], it's likely
you don't need to do anything.

_<https://goreleaser.com/blog/goreleaser-v2/#upgrading>_
2024-06-09 19:31:41 -03:00
Carlos Alexandro Becker
88a49c5c06
docs: improve docker documentation
closes #4913
2024-06-05 22:10:31 -03:00
Carlos Alexandro Becker
44e7e540e3
docs: update jsonschema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-05 11:16:32 -03:00
Carlos Alexandro Becker
35a5302479
docs: update jsonschema
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-05 11:15:50 -03:00
Carlos Alexandro Becker
3a4b363645
docs: update goreleaser-action version 2024-06-05 08:44:41 -03:00
Carlos Alexandro Becker
b3d9f69726
docs: latest 2024-06-05 08:41:45 -03:00
Carlos Alexandro Becker
8dd7f75f05
docs: fix go install instructions for v2
closes #4907
2024-06-05 08:40:49 -03:00
Carlos Alexandro Becker
50e6c4217e
docs: update schema pro
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-04 22:41:14 -03:00
Carlos Alexandro Becker
d824262135
docs: update 2024-06-04 22:25:35 -03:00
Carlos Alexandro Becker
f9e283d8c4
docs: fix more comment 2024-06-04 22:17:28 -03:00
Carlos Alexandro Becker
9b96bf37f3
docs: fix link 2024-06-04 22:15:47 -03:00
Carlos Alexandro Becker
6560d8c2e3
docs: update cmd docs 2024-06-04 22:09:10 -03:00
Carlos Alexandro Becker
4074c457ac
docs: announce v2 2024-06-04 22:09:10 -03:00
actions-user
c891845839 chore: auto-update generated files 2024-06-05 00:46:45 +00:00
Carlos Alexandro Becker
0e22f07349
docs: update error page 2024-06-04 10:13:11 -03:00
Carlos Alexandro Becker
4d9198cafe
docs: update 2024-06-03 22:12:56 -03:00
Carlos Alexandro Becker
7fd5882003
docs: update users
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-03 22:08:50 -03:00
Carlos Alexandro Becker
4fa8df6413
feat!: v2 (#4806)
BREAKING CHANGE

removed all deprecated options, config file should now have a `version:
2` bit


![Dont
Matter](https://github.com/goreleaser/goreleaser/assets/245435/31ece16a-cb70-4e43-9caa-8364e73fbeb9)

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-25 14:09:49 -03:00
actions-user
3e40af256c chore: auto-update generated files 2024-05-24 03:15:07 +00:00
nullswan
b3d6460699
fix(docs): version typo (#4878)
According to
https://github.com/goreleaser/goreleaser-action?tab=readme-ov-file#workflow,
there is a typo `varsion` -> `version`
2024-05-18 19:42:42 -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
actions-user
919b132e0d chore: auto-update generated files 2024-05-15 14:11:22 +00:00
actions-user
b58a766d83 chore: auto-update generated files 2024-05-12 17:30:31 +00:00
Carlos Alexandro Becker
2f56643a63
docs: update action docs 2024-05-12 13:47:45 -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
ba7e915cd8
docs: announce v1.26 (#4851)
planning the releaser for saturday!

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-11 14:21:51 -03:00
Carlos Alexandro Becker
0481e63fb3
docs: remove mentions to --skip-something flags 2024-05-09 23:18:53 -03:00
Carlos Alexandro Becker
b7b4883420
docs: update 2024-05-09 23:17:11 -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
Carlos Alexandro Becker
9c1bc7caa4
chore: update flake and docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-08 23:50:24 -03:00
Carlos Alexandro Becker
7b78e195e2
docs: notes on prefixed tags and monorepos 2024-05-08 15:37:59 -03:00
Carlos Alexandro Becker
e538341179
feat(archive): support tar.zst (#4825)
closes #4820
2024-05-03 10:29:55 -03:00
kvendingoldo
b05a62fddc
feat: migrate to new homebrew constuctions (on_arm, on_intel) (#4822)
<!--

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

...

<!-- Why is this change being made? -->
Brew linter says that old constructions can't be used in case of
submitting to brew-core

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

...
2024-05-02 20:43:03 -03:00
Stepan Rabotkin
7982a33a06
fix: telegram default message (#4821)
Hi, there is another fix of default message. I tried this message, now
everything works
2024-05-02 20:37:15 -03:00
Carlos Alexandro Becker
bf31227b4e
fix(nfpm): termux platform (#4812)
closes #4810 
closes  #4809

---------

Co-authored-by: rsteube <rsteube@users.noreply.github.com>
2024-04-28 20:20:53 -03:00