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

607 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
ed866f0531
docs: since 2024-09-07 11:19:56 -03:00
Carlos Alexandro Becker
708cd8904d
feat(ko): snapshot builds ()
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 

---------

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 ()
refs 

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 ()
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 
2024-09-03 19:57:07 -03:00
Carlos Alexandro Becker
11aa7cfceb
feat(build): template skip ()
closes 
2024-08-18 16:57:59 -03:00
Carlos Alexandro Becker
47ff67b252
feat(deps): update ko and gocloud.dev ()
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 ()
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 ()
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 ()
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 
2024-07-11 22:20:27 -03:00
Weston Schmidt
cc114fc8b9
feat(nfpm): add support for ipk package format ()
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 ()
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 ()
- 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 ()
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 
2024-06-15 13:50:11 -03:00
Carlos Alexandro Becker
675629e798
feat: support extra_files in http upload and artifactories ()
closes 

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 () 2024-06-15 10:16:20 -03:00
Carlos Alexandro Becker
3e663003b1
feat(blob): allow to upload only extra_files ()
Not happy with the option name tbh... happy to hear suggestions :) 

refs 
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 ()
<!--

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 ()
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 ()
closes 

- [x] docs
- [ ] tests
2024-06-11 09:20:48 -03:00
Carlos Alexandro Becker
88a49c5c06
docs: improve docker documentation
closes 
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 ()
<!--

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 ()
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 ()
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 ()
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
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 ()
closes 
2024-05-03 10:29:55 -03:00
kvendingoldo
b05a62fddc
feat: migrate to new homebrew constuctions (on_arm, on_intel) ()
<!--

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 ()
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 ()
closes  
closes  

---------

Co-authored-by: rsteube <rsteube@users.noreply.github.com>
2024-04-28 20:20:53 -03:00
Carlos Alexandro Becker
39bf6668bc
feat(changelog): custom commit format ()
This allows to use templates for commit messages in the changelog when
using `github`, `gitea`, or `gitlab` as the changelog implementation.

closes 

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-04-24 09:08:20 -03:00