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

1518 Commits

Author SHA1 Message Date
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
95b6f0386a
docs: slugify tabs 2024-07-10 01:31:34 -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
93ea93a339
docs: fix light/dark mode switch title 2024-06-23 00:01:46 -03:00
Carlos Alexandro Becker
c421f78c66
docs: fix social icons 2024-06-22 22:44:25 -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
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