1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
Commit Graph

1233 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
607ccc4b84
chore: improv msg
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-08-07 23:45:39 -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
f291f55785
docs: update sponsors page 2024-08-05 09:38:49 -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
e9453ac3c0
docs: clean 2024-08-03 14:54:14 -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
2de792c31d
feat: rename snapshot.name_template -> snapshot.version_template (#5019)
close #5017

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-29 09:21:00 -03:00
Carlos Alexandro Becker
42d614dd62
chore: crlf 2024-07-23 18:47:06 -04: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
8c451c2569
docs: improve dirty.md 2024-07-15 23:11:54 -03:00
Carlos Alexandro Becker
569295d43f
fix(jsonschema): missing ipk in nfpm.formats
closes #4997
2024-07-15 20:50:23 -03:00
actions-user
c3ea906db8 chore: auto-update generated files 2024-07-14 23:38:33 +00:00
Carlos Alexandro Becker
379edd4532
docs: v2.1 announcement (#4987)
gonna release it in the weekend I think

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-13 15:12:03 -03:00
Carlos Alexandro Becker
2a1bcaca53
docs: update schemas 2024-07-13 14:21:33 -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
9be2607f2f
docs: update
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-11 21:26:19 -03:00
Carlos Alexandro Becker
9bf6730b24
docs: improve /install 2024-07-10 01:27:11 -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
8e9f2691ea
docs: improve version error
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-29 19:04:20 -03:00
Go Sueyoshi
55249e73da
docs: fix deprecation keyword in .gitlab-ci.yml (#4964)
`only` keyword in `.gitlab-ci.yml` is now deprecated.

c.f. https://docs.gitlab.com/ee/ci/yaml/#only--except

So I migrated because GitLab now recommends using `rules:if`

c.f.
https://docs.gitlab.com/ee/ci/jobs/job_rules.html#run-jobs-only-in-specific-pipeline-types
2024-06-29 15:53:32 -03:00
Carlos Alexandro Becker
a4643a1fc9
docs: add version error to common errors 2024-06-28 15:09:34 -03:00
Carlos Alexandro Becker
f22596a3e1
docs: wording 2024-06-25 15:16:45 -03:00
Carlos Alexandro Becker
a44ff45fc8
docs: fix margin
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-25 09:29:11 -03:00
Carlos Alexandro Becker
409ce4ffb4
docs: improving home page (#4953)
tried to refresh the home a little bit, not sure if I like it or not.

let me know what you think :)

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-06-24 23:12:15 -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
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