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

1173 Commits

Author SHA1 Message Date
Carlos A Becker
27af559a62
docs: improve reproducible builds 2022-12-16 11:14:33 -03:00
Carlos A Becker
84392e56cf
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-15 14:06:19 -03:00
Carlos Alexandro Becker
cac3f17562
feat(deps): build with go 1.19.4 (#3644)
latest and greatest

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 15:23:40 -03:00
actions-user
1b14f0d26f chore: docs auto-update 2022-12-14 15:18:53 +00:00
Carlos Alexandro Becker
2e5a8e5a54
feat: allow to template archives.files.info (#3630)
this allows to template the owner, group and mtime in file infos inside
archives.

should help towards reproducible builds!

goes well with #3618

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:43 -03:00
Carlos Alexandro Becker
3cfe215d4c
docs: update github-action documentation (#3640)
Using the new version (v4) everywhere.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:24 -03:00
Carlos Alexandro Becker
937067697b
feat: set file info for binaries inside archives (#3618)
closes #3582

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 12:16:03 -03:00
Jo
960814aea8
docs: fix skip_push parameter to skip_build (#3628)
Fix the wrong `skip_push` to `skip_build` in `docker.md`.
2022-12-08 09:43:03 -03:00
Carlos A Becker
5c15e5a6ef
docs: errors/build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-04 10:29:02 -03:00
Carlos A Becker
b06f217e3b
docs: update docker options and schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-02 22:38:39 -03:00
actions-user
370575107e chore: docs auto-update 2022-12-03 00:51:42 +00:00
Carlos Alexandro Becker
f5696d01ee
feat: custom tag.sort (#3611)
closes #3609

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-02 21:50:04 -03:00
Carlos Alexandro Becker
e72ab30ac8
fix: improve schema for signs (#3603)
adds all the options allowed in the `artifacts` field to the schema

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-29 21:38:51 -03:00
Carlos A Becker
bb6181c1bb
docs: document release upload errors 2022-11-29 07:19:50 -03:00
Carlos Alexandro Becker
1b8395d6b6
feat(build): allow to template env (#3592)
GoReleaser evolved a lot since the last time I tried to implement this
>1 year ago.
Now its 100% possible, and way simpler to do it!

closes #3580
refs #2583

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-25 15:26:29 -03:00
Carlos Alexandro Becker
e54656438b
feat: deprecate replacements (#3589)
The replacements thing was always a bit weird, especially on archives.

We can solve that with templates, so, removing I'm deprecating it.

Also did the same on other places that had it the same feature.

Closes #3588

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-25 15:26:14 -03:00
Carlos A Becker
eedf9578a6
docs: clarify cgo
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-24 18:18:29 -03:00
Carlos Alexandro Becker
a1305d3912
fix: validate env templates (#3591)
ignore invalid environment variables (e.g. no key, no value, or no equal
sign)

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-24 17:12:54 -03:00
John Olheiser
b66568529d
feat: add windows to default builds (#3581)
Resolves #3579

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-11-24 15:48:37 -03:00
Carlos Alexandro Becker
f3f1c08caf
feat: title template function (#3590)
added new `title` template function.


extracted from #3589

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-24 15:21:42 -03:00
Carlos Alexandro Becker
fb901ae6d3
docs: make co-marketing more strict on eula (#3583)
This only makes it more strict for goreleaser, and in my experience so
far, is what most companies want.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-22 23:54:11 -03:00
Mark Phelps
0c6d209946
docs: fix typo in pro docs (#3586)
achives -> archives

<!--

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

...

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

...
2022-11-22 22:37:01 -03:00
John Olheiser
090365bf78
chore: verify website for mastodon (#3576)
> You can verify yourself as the owner of the links in your profile
metadata. For that, the linked website must contain a link back to your
Mastodon profile. The link back must have a `rel="me"` attribute. The
text content of the link does not matter.

I checked that `display: none;` doesn't affect the verification process,
I was able to "verify" a link using a quick test on my own profile.

I'm not convinced this is the _best_ way, but it is _a_ way. On other
pages on the site you have a mastodon link, if those were added to the
front page they would also suffice (assuming the above criteria are
met).
2022-11-21 09:36:15 -03:00
Carlos A Becker
b76b65875d
docs: note trailing slash on nfpm 2022-11-20 14:22:19 -03:00
Carlos A Becker
de254d582f
docs: mastodon 2022-11-20 13:20:26 -03:00
Carlos A Becker
cf8586ed7c
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-17 23:08:34 -03:00
actions-user
ad502829b6 chore: docs auto-update 2022-11-17 23:56:56 +00:00
Carlos Alexandro Becker
ab08d0b706
fix: move mastodon server to yaml (#3568)
refs #3567

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-17 20:54:57 -03:00
actions-user
fe24ee6741 chore: docs auto-update 2022-11-17 23:42:16 +00:00
John Olheiser
e65c53172e
feat: add mastodon (#3567)
This PR adds [mastodon](https://joinmastodon.org/) as an announcement
pipeline. 🥳


![mastodon-announce](https://user-images.githubusercontent.com/42128690/202544345-d90d8f10-0818-4bc2-bc35-3dbcba4254b0.png)


Resolves #3566

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-11-17 20:40:00 -03:00
Carlos A Becker
79b7cebdae
docs: clarify archlinux and v1.13
closes #3560

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-16 09:32:54 -03:00
Carlos A Becker
c4941ebf51
chore: update pro schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-15 08:59:22 -03:00
Carlos Alexandro Becker
b55b9976c7
feat: use digest to sign docker images/manifests (#3556)
this drives it home by using the actual images/manifest digests to sign
with cosign by default.

the default signing command is changing in this PR, but since `digest`
should be always there (if not, the pipeline will fail way earlier), it
should be fine.

refs https://github.com/goreleaser/goreleaser/issues/3496
refs https://github.com/goreleaser/goreleaser/pull/3540

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-15 08:21:18 -03:00
Carlos Alexandro Becker
ee6225fb5e
docs: improve schema (#3553)
this should prevent yamlschema from complaining on some fields that
accept an integer or string (goarm) and a bool or string (skip*)

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-14 15:01:24 -03:00
Carlos Alexandro Becker
bb00edac2a
fix: set dockers.goarm to 6 by default (#3552)
fixes #3545

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-14 13:59:01 -03:00
actions-user
5c93447f7b chore: docs auto-update 2022-11-14 13:10:08 +00:00
Carlos A Becker
c4fd0a0c5b
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 23:57:03 -03:00
Carlos A Becker
964e703fb4
docs: small updates
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 23:54:16 -03:00
Fabio Ribeiro
f2281e8ff2
feat: chocolatey support (#3509)
This PR adds support for generating the structure used to pack and push
Chocolatey Packages. And will solve the #3154

Is not ready for merge yet, but has the main structure, and ready for
comments.

Accordingly to Chocolatey, in order to build a package, it's necessary a
`.nuspec` and `chocolateyinstall.ps1` files at least, having these ones,
we could pack and distribute without adding the binary inside the final
package and that was implemented here.

To complete, will be necessary to define the package build and
distribute, however will be required to have Chocolatey installed
(Windows Only). One of alternatives that I thought was, publish the
files like Scoop and Brew in a separate repository, and there we could
use `chocolatey` through
[crazy-max/ghaction-chocolatey](https://github.com/crazy-max/ghaction-chocolatey).

Chocolatey has a lot of good examples of repositories:

https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/curl

A final compilation of the missing parts:
- [x] How to pack and push (chocolatey)
- [x] Documentation

Sorry for the long description😄 

All feedback very welcome!

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-11-11 23:52:32 -03:00
Carlos A Becker
e47bad4997
docs: small improvement 2022-11-11 23:42:51 -03:00
actions-user
59948928e5 chore: docs auto-update 2022-11-12 02:37:32 +00:00
Giorgio Azzinnaro
0a536f08fd
feat: build of shared/static libraries (#3511)
<!--

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 improves the handling of shared or static libraries by
GoReleaser. It uses the default behaviour of the Go compiler by
appending the right extension to libraries.

* `.so` and `.a` for Linux shared libraries and static libraries
respectively
* `.dylib` and `.a.` on Darwin
* `.dll` and `.lib` on Windows (pre-existent)

It does not add any configuration option to `.goreleaser.yml`, since it
leverages the existing `buildmode` flag.

Additionally, this PR takes care of adding the generated header file
into the archive.

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

Personally I would leverage this change to release some software both as
a CLI and as a shared library. I believe others who use CGo or need
interoperability with Go from other languages could benefit from this.

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

This was previously discussed in #3497.

I couldn't quite think of a proper way to add some tests to the header
archiving feature. Any recommendation?
2022-11-11 23:35:51 -03:00
Adam Harvey
0f79adca87
docs: fix wording (#3542)
<!--

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

Fixes wording in the docs page about Git being in a dirty state.

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

The goal is to improve the end-user reading of the instructions.

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

...
2022-11-10 22:30:18 -03:00
Carlos A Becker
b9241a444c
docs: add more podman details
refs https://github.com/goreleaser/goreleaser/issues/3538
2022-11-08 23:15:12 -03:00
Carlos A Becker
d4c3e82a6c
docs: fix redirects 2022-11-08 00:18:14 -03:00
Carlos A Becker
ed30c4e2db
docs: /twitter, discord, linkedin etc 2022-11-08 00:06:24 -03:00
Carlos A Becker
6dac256b45
docs: added /security 2022-11-08 00:05:36 -03:00
Steven Hartland
0ea4f1d5b7
fix(changelog): group regexps (#3527)
Fix the regular expressions used in changelog group processing to valid
golang (RE2) regexps. These previously used PCRE character class `\w`
which is not supported in RE2 which is what golang regexp uses.

Also document that format matches not just title as some may thing but
the format `<abbrev-commit> <title-commit>`.
2022-11-07 09:28:52 -03:00
Marc Miller
311db136d6
docs: update docs to mention gitlab protected vars (#3528)
add warning about gitlab-ci protected variables for both CI/gitlab and
SCM/gitlab.
Failing to run the pipelines on a protected ref will cause goreleaser to
fail with `401: unauthorized` if for example, GITLAB_TOKEN is a
protected variable and the CI Job is running on a tag that is not
protected.

<!--

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

Add a warning about Gitlab CI and protected variables

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

To prevent future users from running into issues with protected
variables.

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

[Discord
Convo](https://discord.com/channels/890434333251362866/890434334803247126/1038130560293412955)
2022-11-04 16:04:19 -03:00
Marc Miller
b101e3bada
docs: add Syft to contributing docs (#3529)
Update contributing doc to include Syft

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

Help contributors prevent errors with `task test`
2022-11-04 16:03:53 -03:00
Carlos A Becker
b6e5b87711
docs: instruct how to use a pinned version of the jsonschema
closes #3495
2022-11-02 22:14:25 -03:00
actions-user
9c750737b9 chore: docs auto-update 2022-11-02 18:31:45 +00:00
Arsen6331
ad359a4712
feat: implement nfpm archlinux packages (#3470)
<!--

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 implements the Archlinux packages that were added in nfpm
v2.20.0, as well as tests and documentation for them.

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

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

goreleaser/nfpm#133
goreleaser/nfpm#543
Fixes #3469

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-11-02 15:30:06 -03:00
Carlos Alexandro Becker
1a69d44d6d
fix: allow to template scoop/brew/krew repo ref (#3521)
closes #3508

- adds template support for krew and scoop repo refs
- template branch on reporef on brew as well

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-02 14:54:16 -03:00
Carlos Alexandro Becker
7544f7ab96
feat: update to go 1.19.3 (#3523)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-02 14:19:01 -03:00
John Olheiser
1e39e3ce79
docs: add woodpecker ci (#3516)
This PR adds [woodpecker](https://woodpecker-ci.org) to the CI docs.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2022-10-31 14:45:37 -03:00
Carlos Alexandro Becker
c71d8ecafa
docs: gif (#3504)
gif powered by vhs cc/ @maaslalani

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-27 15:06:26 -03:00
Carlos A Becker
10586bdba7
docs: clarify lack of vcs info when building from proxy
closes #3491

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 22:16:32 -03:00
Sam Therapy
f1e63050d6
docs: Mention Gitea explicitly (#3489)
This PR adds explicit mention of Gitea in the AUR, Homebrew and Scoop
sections.

I have tested and tried using Homebrew and Scoop with a Gitea instance,
I have not tried the AUR but it should work the same.
2022-10-21 22:30:54 -03:00
Carlos A Becker
1485e6f23f
docs: formatting 2022-10-15 19:33:18 -03:00
Carlos A Becker
7e9964547d
docs: improve partial docs 2022-10-15 19:31:05 -03:00
Carlos A Becker
5d75dec810
docs: improve go first class ports docs 2022-10-15 19:31:05 -03:00
Carlos Alexandro Becker
9e6fb4f55c
feat: more templateable fields for blobs (#3461)
closes #3460

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-14 10:17:30 -03:00
Carlos A Becker
427003f1fe
docs: clarify tags a bit
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-14 00:33:32 -03:00
Carlos A Becker
4c8628d590
docs: improve page
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-13 14:08:51 -03:00
Gökhan Özeloğlu
13bb05347d
docs: fix url misspelling (#3456)
* Fix `http` with `https`.

Signed-off-by: Gökhan Özeloğlu <gokhan.ozeloglu@deliveryhero.com>

Signed-off-by: Gökhan Özeloğlu <gokhan.ozeloglu@deliveryhero.com>
2022-10-12 19:09:34 -03:00
Carlos A Becker
cd6ca55db5
fix: install script 2022-10-12 01:16:33 -03:00
Carlos A Becker
2f875c7d8e
docs: improvements 2022-10-12 01:12:38 -03:00
Carlos A Becker
4c71455daf
docs: fix typos 2022-10-12 01:04:51 -03:00
Carlos A Becker
ea9f7f70dc
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-12 01:01:24 -03:00
Carlos A Becker
eb9699142f
docs: update from pro
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-12 00:12:42 -03:00
Carlos A Becker
d58fa71b0d
docs: fix htmltest 2022-10-12 00:04:19 -03:00
Carlos A Becker
20b773de28
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-11 22:09:42 -03:00
actions-user
bd72d6edb5 chore: docs auto-update 2022-10-11 12:19:18 +00:00
Carlos A Becker
2c61a56b63
docs: update post checkout page 2022-10-06 15:02:56 -03:00
Carlos A Becker
526bdff1f4
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-06 15:00:38 -03:00
actions-user
c6e092a6ca chore: docs auto-update 2022-10-06 00:27:12 +00:00
Carlos Alexandro Becker
b4159f6377
feat(deps): go 1.19.2 (#3443)
latest security fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-05 21:24:45 -03:00
Carlos A Becker
b88e836d3a
chore: update schema 2022-10-05 10:50:29 -03:00
Carlos Alexandro Becker
bb170f3b9c
docs: better document multiple tokens error (#3438)
closes #3361
2022-10-05 10:27:02 -03:00
Carlos Alexandro Becker
a42c8ae706
feat: aur backup (#3366)
closes #3353
2022-10-05 09:42:17 -03:00
Carlos Alexandro Becker
24178b1060
feat: permanently remove buildpacks (#3414)
removing for good!

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-05 09:42:05 -03:00
NoahK
81de8addf1
feat: MarkdownV2 for Telegram announcer (#3435)
Set MarkdownV2 as parse mode for Telegram announcer.

This allows for additional formatting in the announcement, such as
`code` or _italic_ sections. For details, see the official [Telegram Bot
API](https://core.telegram.org/bots/api#markdownv2-style).

If someone has the time (not added in this PR), I think it would be
great to add a field to the Telegram config for the parse mode. This
would allow setting a different parse mode than MarkdownV2, such as
HTML.

This fixes #3431.
2022-10-05 09:35:01 -03:00
Carlos Alexandro Becker
4a51099964
fix: gomod.env not being used (#3434)
Fixes  #3426

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-04 13:01:18 -03:00
Carlos A Becker
ae9c8acc99
docs: post-checkout 2022-10-04 09:41:20 -03:00
Kotaro Inoue
415b903a7b
docs: fix url_template line of the brew example (#3432)
<!--

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 fixes one line in the `homebrew` example section.

## Why is this change being made?

In the example of the `homebrew` section, the `url_template` value seems
to be wrong.
2022-10-04 09:24:09 -03:00
Carlos A Becker
0ca7af86c2
docs: improve wording a bit
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-30 20:21:11 -03:00
actions-user
7f3cef0c2d chore: docs auto-update 2022-09-30 23:10:27 +00:00
actions-user
00ec06599e chore: docs auto-update 2022-09-30 23:08:24 +00:00
actions-user
0a7e77e859 chore: docs auto-update 2022-09-30 23:04:56 +00:00
actions-user
8acc7299d5 chore: docs auto-update 2022-09-30 13:49:20 +00:00
actions-user
872351f1f2 chore: docs auto-update 2022-09-30 12:47:14 +00:00
actions-user
4a398954ed chore: docs auto-update 2022-09-30 12:27:58 +00:00
actions-user
86895ffb77 chore: docs auto-update 2022-09-30 02:01:13 +00:00
Carlos A Becker
c006c9d208
chore: do not login on snapcraft on snapshots 2022-09-27 21:20:57 -03:00
Carlos A Becker
e070258c90
docs: improve wording 2022-09-27 12:04:47 -03:00
Carlos A Becker
5f66f6b93f
docs: clarify brew docs 2022-09-27 11:52:35 -03:00
Carlos A Becker
452e150c76
docs: fix example 2022-09-27 11:52:35 -03:00
actions-user
6a9606d0b4 chore: docs auto-update 2022-09-27 13:14:25 +00:00
Carlos Alexandro Becker
f3849e2bbe
fix: client key and cert should not be required (#3409)
closes #3407

Signed-off-by: Sheridan C Rawlins <scr@yahooinc.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Sheridan C Rawlins <scr@yahooinc.com>
2022-09-27 10:12:34 -03:00
Alexandre Couedelo
b8d3fa3a39
docs: archives.*.builds is type []string (#3406)
The example creates an error because builds is supposed to be an array
here is shown as a string

<!--

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

...

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

...
2022-09-26 12:30:07 -03:00
Carlos A Becker
5058540112
docs: improve actions docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-25 10:46:42 -03:00
Carlos A Becker
39f18943bf
docs: make actions/docker a bit clearer 2022-09-25 10:45:18 -03:00
Carlos Alexandro Becker
d7cf3dd889
docs: update nfpm docs (#3396)
closes #3380

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-24 22:42:30 -03:00
Carlos A Becker
6aa3f5a724
chore: minor workflows improvements 2022-09-22 16:00:05 -03:00
Carlos A Becker
7ea12d2ac5
docs: clarify build docs a bit 2022-09-18 13:57:48 -03:00
Carlos Alexandro Becker
c1965923b0
docs: improve wording/formatting in several places (#3384)
this just improves docs wording and formatting in several places.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-17 00:13:09 -03:00
Carlos Alexandro Becker
36a48eabb7
fix: binary archive when multiple builds (#3385)
closes #3383

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-16 23:47:06 -03:00
Batuhan Apaydın
826944d62f
docs: add COSIGN_EXPERIMENTAL=1 for verify-blob (#3378)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

<!--

Hi, thanks for contributing!

Please make sure you read our CONTRIBUTING guide.

Also, add tests and the respective documentation changes as well.

-->

Cross-ref: https://github.com/fluxcd/source-controller/issues/899

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2022-09-15 13:29:12 -03:00
Carlos Alexandro Becker
6606eec326
fix: yaml-lang-server modelines in init config (#3376)
- docs on how to specify the schema to the lang server
- add it automatically along with vim modelines to the init config
- added it to our config as well

this should prevent some "out of date" schema issues, as well as mixing
tabs with spaces and whatnot when an editorconfig plugin is not
installed.
2022-09-15 09:41:26 -03:00
Carlos A Becker
a8403f2a0c
docs: improve actions docs 2022-09-13 23:50:59 -03:00
Carlos A Becker
cb686785b0
docs: why we made it, is it any good, video, etc 2022-09-13 23:47:23 -03:00
Carlos Alexandro Becker
61f586e625
docs: version recent changes (#3367)
versioned all new options since v1.2 (late 2021).

Should be enough to fix #3317 for now.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-11 16:54:51 -03:00
Carlos A Becker
b8a225b6c7
docs: improve monorepo docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-04 16:16:34 -03:00
actions-user
101c6af085 chore: docs auto-update 2022-09-04 02:29:09 +00:00
Carlos A Becker
dbc32c23ee
docs: improve sponsors page 2022-09-03 23:27:04 -03:00
Carlos A Becker
1c96e113c4
docs: improve links page 2022-09-03 23:21:55 -03:00
Carlos A Becker
1830126ee0
docs: add eula and linkedin to links 2022-09-03 23:18:10 -03:00
Colin Kennedy
45387f5dc0
docs: insert missing word (#3352)
<!--

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

...

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

...
2022-08-31 14:40:08 -03:00
Carlos A Becker
e31f7806dc
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-30 22:25:33 -03:00
actions-user
23a7922f8e chore: docs auto-update 2022-08-30 15:07:04 +00:00
Carlos Alexandro Becker
efdba10f58
fix: guard changelog commit abbrev behind config (#3349)
this allows the user to specify the abbrev lenght to use, and will also add the option to omit the commit hash altogether by setting it to -1.
default is doing nothing

closes #3348

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-30 12:04:01 -03:00
Carlos A Becker
999cf91af4
docs: improved wording in many places 2022-08-28 16:15:24 -03:00
Carlos A Becker
d853ee2db7
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-27 17:38:23 -03:00
Carlos A Becker
c9a9916dc1
docs: update install page 2022-08-25 14:45:20 -03:00
Carlos Alexandro Becker
d7acf21f03
fix: source archive add subfolders (#3343)
`--add-file` adds only the `--prefix` joined with the basename of the added file, so, adding a folder like `vendor` would break havoc.

this basically writes our own source archives (which are more compressed) and allows to add an entire folder easily, as well as other mappings as `archives` already supports. 

refs #3102 #2911

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-25 02:15:37 -03:00
actions-user
12c425614c chore: docs auto-update 2022-08-25 04:12:08 +00:00
Carlos Alexandro Becker
e67975ea99
feat: add extra files to source archives (#3102)
closes https://github.com/goreleaser/goreleaser/issues/2911

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-25 01:10:26 -03:00
Carlos A Becker
7f04e4df98
docs: update jsonschema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-22 21:48:57 -03:00
actions-user
e55df16ff1 chore: docs auto-update 2022-08-23 00:36:57 +00:00
Carlos A Becker
797a1ccc5f
feat: release with target_commitish in another repo
We should not imply the target_commitish, as some users might want to
have the code in one repo and the releases in another (e.g. private
code, public releases), so the commit might not be there.

We should instead allow the user to set the `target_commitish` (or not),
and pass it down to the github api.

refs 95bba02211
refs #3044
refs #3330

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-22 21:31:28 -03:00
Carlos Alexandro Becker
a7c6b14cbf
feat: termux.deb (#3333)
termux support, built from #3258 :

minor code changes
support for 386 as well
docs
tests

closes #3118
closes #3258

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: rsteube <rsteube@users.noreply.github.com>
2022-08-22 09:29:55 -03:00
Carlos A Becker
0097524e50
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-21 21:28:05 -03:00
Carlos A Becker
94ed9e9309
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-21 16:30:00 -03:00
Carlos A Becker
46e9db4843
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-17 23:52:05 -03:00
Carlos A Becker
ce264f1fca
fix: jsonschema
very hacky, fixes #3238 for good

refs https://github.com/invopop/jsonschema/issues/26

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-17 23:50:14 -03:00
Carlos A Becker
aa12ad014e
feat(deps): update nfpm to latest patch
Should fix some jsonschema issues
2022-08-17 23:39:04 -03:00
Carlos A Becker
e51eab751d
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-17 23:04:40 -03:00
actions-user
5c5844c397 chore: docs auto-update 2022-08-18 02:00:32 +00:00
Carlos Alexandro Becker
6d000e5cb1
feat: allow to specify version of brew deps (#3319)
* feat: add version for homebrew dependencies

* resolve conflicts

* resolve conflicts

* feat: allow to specify version of brew deps

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* docs: brew

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Purushotham <purushotham@hasura.io>
2022-08-17 22:58:41 -03:00
actions-user
dcd402c013 chore: docs auto-update 2022-08-18 01:35:06 +00:00
Carlos Alexandro Becker
aeccdb6a15
feat: replace existing draft releases on github (#3318)
* fix: duplicate draft release

* golint

* delete existed release assets before append draft

* feat: replace existing draft releases on github

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by:
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: qsliu <qsliu2017@outlook.com>
2022-08-17 22:33:16 -03:00
actions-user
a199c00d61 chore: docs auto-update 2022-08-16 05:07:26 +00:00
Carlos Alexandro Becker
3f60327964
feat: nfpm changelog support (#3309)
closes #3259

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-16 02:05:46 -03:00
Carlos A Becker
bb4bbde2ac
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-16 02:05:10 -03:00
Carlos A Becker
a7789f1adb
docs: clarify some azure pipelines info 2022-08-16 01:33:27 -03:00
Carlos Alexandro Becker
08e7038a20
feat: remove gofish (#3312)
* feat: remove gofish

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more unused code

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: remove more references

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-16 01:16:45 -03:00
actions-user
482a6f55fd chore: docs auto-update 2022-08-16 03:40:59 +00:00
Carlos Alexandro Becker
5cfc78d92c
feat: gitlab option to use_job_token (#2993) 2022-08-16 00:39:13 -03:00
actions-user
4dc372d784 chore: docs auto-update 2022-08-16 01:55:18 +00:00
Carlos Alexandro Becker
4da595ed26
feat: strip_parent_binary_folder (#3261)
* feat: strip_parent_binary_folder

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* docs: clarify dir

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: fmt

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-15 22:53:36 -03:00
Sheridan C Rawlins
53ed81665b
feat: mTLS with client certificate (#3302)
* Support mTLS with client certificate when configured.

* Fix the omitempty typo.

* Add check for missing cert as well.

* Added documentation for artifactory and upload, as well as how to run mkdocs locally

* set pip version to just 3.

* Added example to the full config.

* Remove the Pipfile and update documentation to mention the task.

* update language in doc about multiarch images.

Co-authored-by: Sheridan C Rawlins <scr@ouryahoo.com>
2022-08-12 09:44:54 -03:00
Carlos A Becker
2038281c82
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-08 09:23:51 -03:00
Carlos A Becker
6708031ae5
docs: improve wording on archive 2022-08-07 12:24:11 -03:00
actions-user
677539032a chore: docs auto-update 2022-08-07 15:15:39 +00:00
Carlos A Becker
fa61448ded
feat: support provides field in nfpm config
refs #3259

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-07 12:13:20 -03:00
andig
42eaf083fe
feat: add split tmpl function (#3293) 2022-08-07 11:39:04 -03:00
Carlos Alexandro Becker
5a433347ac
feat: allow to skip scm release uploads (#3282)
* feat: allow to skip scm release uploads

refs #3268

* chore: schema update

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-06 18:59:59 -03:00
actions-user
36aabe218a chore: docs auto-update 2022-08-06 21:46:09 +00:00
Carlos Alexandro Becker
ee17c9583d
feat(ci): compile with go 1.19 (#3278)
* feat(ci): compile with go 1.19

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fixing template test

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: improve check

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: more test and docs fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fix

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fix

* test: fix

* fix: lint

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: docker templates

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: godoc for RequireTemplateError
2022-08-06 18:44:23 -03:00
Randy Fay
224a4f5f0c
docs: AUR publish is skipped if git url is empty (#3279)
This is a good way to skip publish on a test account, for example
2022-08-04 15:38:58 -03:00
Carlos A Becker
eb83d0db6d
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-04 15:36:07 -03:00
Carlos A Becker
ebd2afdf3c
fix: jsonschema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-04 15:30:25 -03:00
Carlos A Becker
e1849f1aa9
docs: sync with pro
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-03 15:08:00 -03:00
Carlos A Becker
2096b5687a
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-01 16:14:18 -03:00
Carlos A Becker
a31b4aa0ae
feat: ArtifactExt as a template field 2022-08-01 16:04:20 -03:00
Carlos A Becker
a05b776334
docs: typo fixes 2022-08-01 15:58:51 -03:00
Carlos A Becker
bcdb7e650c
docs: clarify dir
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-28 09:41:18 -03:00
Carlos A Becker
31d0e54894
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-27 14:27:02 -03:00
Carlos A Becker
fb89f6ad01
fix: temporary revert jsonschema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-27 14:26:12 -03:00
Carlos Alexandro Becker
315935aedc
fix(archive): always strip parent if set (#3256)
* Always strip parents.

* refactor: improve code a bit

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* refactor: even simpler

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Co-authored-by: Nathan Hammond <nathan.hammond@vercel.com>
2022-07-27 09:55:55 -03:00
Carlos A Becker
999ca7afea
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-26 09:21:42 -03:00
Carlos A Becker
7aeebb12f2
docs: remove beta warning from docker manifests feature
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-19 10:37:13 -03:00
actions-user
3cf64c1541 chore: docs auto-update 2022-07-12 12:58:25 +00:00
Carlos A Becker
71283cc274
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-04 10:05:19 -03:00
Radu Jipa
16a2a25936
docs: use --output-signature with cosign sign (#3218)
`cosign sign` complains with the following error when using `--output`
⨯ release failed after 14.73s error=sign: cosign failed: exit status 1: WARNING: the '--output' flag is deprecated and will be removed in the future. Use '--output-signature'
2022-06-30 14:20:24 -03:00
Carlos A Becker
67b3ce0199
docs: update pro schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-27 08:55:59 -03:00
actions-user
2ea3e45020 chore: docs auto-update 2022-06-27 01:02:52 +00:00
Carlos Alexandro Becker
f75d64d6cc
feat: allow to override env for a target (#3201)
* feat: allow to override env for a target

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: dupe key

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-26 22:00:55 -03:00
Rıza Sabuncu
153226a560
docs: update wrong permission key (#3206) 2022-06-26 21:58:59 -03:00
naglis
0c9c82ab2f
docs: fix typos (#3204) 2022-06-25 21:30:10 -03:00
Carlos A Becker
ad2986a2e1
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:42:11 -03:00
Carlos A Becker
e8f3f012db
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:41:58 -03:00
Randy Fay
0ccd795942
docs: fix mistaken mention of homebrew in AUR section (#3200)
TYPO from copy-pasta in AUR section.
2022-06-25 16:34:57 -03:00
CrazyMax
b1a3f301e7
fix: use default builder with buildx (#3199)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-06-24 16:13:33 -03:00
Carlos A Becker
cc80b0edbf
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-23 23:55:08 -03:00
Randy Fay
954a0e7459
docs: fix typo in archive.md (#3189) 2022-06-23 22:40:25 -03:00
Randy Fay
5ae087197b
docs: no-main error if running outside project root 2022-06-23 22:39:48 -03:00
Carlos A Becker
8424c92102
docs: clarify dist folder names
refs https://github.com/goreleaser/goreleaser/discussions/3183

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-22 23:55:46 -03:00
Carlos A Becker
3566ba619d
docs: update docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-21 22:34:32 -03:00
actions-user
7b5c6d9b3d chore: docs auto-update 2022-06-20 23:49:17 +00:00
Carlos A Becker
5713eec15f
docs: clarify action does not install other tools
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-14 15:26:20 -03:00
actions-user
b5f14be757 chore: docs auto-update 2022-06-14 14:16:57 +00:00
Carlos Alexandro Becker
2c59b8e1be
feat: remove empty_folders for good (#3163)
* feat: remove empty_folders for good

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: build

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-14 11:15:17 -03:00
Carlos A Becker
6c10e8eaa6
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 22:35:36 -03:00
Carlos Alexandro Becker
ad3c6fdcdd
feat: update jsonschema library (#3159)
* feat: update jsonschema library

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: test

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 22:31:30 -03:00
Carlos Alexandro Becker
0f128690a0
feat: removed deprecated windows arm handling on go 1.16 (#3157)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 20:04:19 -03:00
Carlos Alexandro Becker
1723e88dcd
fix: wrap_in_directory type (#3158)
closes #3155

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 20:03:58 -03:00
Carlos A Becker
1a8e075e4f
docs: ref fixes
refs #3152

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-10 23:07:21 -03:00
Randy Fay
176336f264
docs: miscellaneous usage and wording improvements (#3152)
* Make sure to do required go mod init before continuing or goreleaser command fails.

* how the release might look like -> what the release might look like

* How does it look like -> What does it look like

* you must therefore -> you must

* Don't use GO111MODULES in example since it's so obsolete

* modules -> verifiable builds

* got you covered -> has you covered
2022-06-10 23:04:16 -03:00
actions-user
c7dae1b67c chore: docs auto-update 2022-06-01 14:42:35 +00:00
Carlos A Becker
08769d7372
docs: clarify godownloader deprecation
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-20 20:24:56 -03:00
Carlos A Becker
e19a0013c5
docs: remove godownloader for good
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-18 23:34:44 -03:00
Carlos A Becker
b0923f6eae
docs: newsletter
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-18 23:28:15 -03:00
Carlos A Becker
a52fb997d1
docs: update email addresses
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-18 12:12:42 -03:00
Carlos A Becker
83704c9e4b
docs: better wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 15:11:29 -03:00
Carlos A Becker
22f73836ac
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 13:10:18 -03:00
Carlos A Becker
3697a9d8ce
docs: wording improvements
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 10:17:13 -03:00
actions-user
06324e2ed6 docs: update 2022-05-10 12:19:06 +00:00
Carlos Alexandro Becker
e38e76cac8
feat: meta archives (#3093)
adds support for creating meta archives

closes #3085

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-10 09:17:30 -03:00
Carlos A Becker
8ee53b6e1d
docs: update pro features
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-09 21:46:38 -03:00
Felix Börner
2297be1cf7
docs: add example for semantic-release (#3091) 2022-05-09 14:48:35 -03:00
actions-user
189ffcb1d8 docs: update 2022-05-09 12:34:08 +00:00
Batuhan Apaydın
a02cbca273
docs): add SBOM section, update Docker as container (#3090)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2022-05-09 08:53:06 -03:00
Carlos Alexandro Becker
f812d1b920
fix: nfpm deprecation on nfpm check (#3087)
closes #3067

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-08 21:13:56 -03:00
Carlos Alexandro Becker
4cf566be44
docs: fix several htmltest issues (#3086)
* docs: fix several htmltest issues

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: more fixes

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-07 01:28:22 -03:00
Carlos A Becker
362491ce05
docs: link to example repo
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-04 10:47:25 -03:00
Carlos A Becker
a51fd7bd8f
docs: improve prebuilt docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-04 10:38:44 -03:00
Ishan Goel
f62283c8ab
docs: fix typo (#3081)
"you `main.go`" to "your `main.go`"
2022-05-03 09:48:55 -03:00
Carlos Alexandro Becker
ea7a696fab
feat: improve docker errors (#3080)
* feat: improve docker errors

Adding an error page with some more info to help debug issues.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: forgot return

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: missing err

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 22:05:42 -03:00
Carlos A Becker
444218f51d
chore: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 20:40:00 -03:00
Carlos A Becker
93dd387809
docs: goreleaser pro eula
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-02 20:30:19 -03:00
Carlos A Becker
2b2ad7c2a7
docs: wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:26:19 -03:00
Carlos Alexandro Becker
97db97df87
feat: new install anf run script (#3075)
* feat: new install anf run script

- move away from deprecated git.io
- support distribution
- verify checksums and signature

closes #3074

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: rename script

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-29 08:11:04 -03:00
Aram
a77ed9aafd
docs: fix example env var name on scoop docs (#3068) 2022-04-26 12:11:43 -03:00
Carlos Alexandro Becker
69cf1aa887
feat: first class build targets (#3062)
Adds the ability to tell goreleaser to use the first-class Go ports as
targets.

Closes #3053

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:28 -03:00
Carlos Alexandro Becker
5aeb8ace61
fix: prevent folder collisions in builds and universal binaries (#3063)
- on universal binaries, use the build id instead of the binary name to
  create the folder in the dist folder
- on builds, default the id the to the binary name instead of project
  name. The binary name already defaults to the project id if empty, so
  this should only prevent having to specify the id + binary name in
  some cases.

closes #3061

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:14 -03:00
Carlos Alexandro Becker
30630bfc7f
feat: add builds.no_main_check and builds.command (#3064)
* feat: add builds.no_main_check and builds.command

Added two more options to the builds section:
- command: allow to override the command being run. E.g. instead of
  `go build`, one could run `go test -c` by setting gobinary, command
  and flags, respectively.
- no_main_check: by default, goreleaser will fail if there's no main
  function. This option allows to disable that check.

This PR effectively make GoReleaser able to release Go test binaries
instead of just "regular" binaries.

closes #3037

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fix broken tests

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-25 22:07:02 -03:00
Andreas Deininger
38bc6b504e
docs: fix typos (#3054) 2022-04-19 19:34:24 -03:00
Carlos A Becker
16f7e0d172
docs: clarify release.skip behavior
It skips the entire SCM release, not  only the artifact upload.

Closes #3051

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-19 09:06:12 -03:00
Carlos A Becker
a53afde02a
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-16 15:37:42 -03:00
Carlos A Becker
d513b708d0
docs: improve goamd64 docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-15 23:26:15 -03:00
Carlos A Becker
3e8b848e44
docs: nightlies
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:57:13 -03:00
Carlos A Becker
ed5e20ae0a
docs: organize menu a bit
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:23:59 -03:00
Carlos A Becker
d8a283ab87
docs: pluralize
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-14 14:23:09 -03:00
Carlos A Becker
e3a50e7b9d
docs: note goamd64 and nfpm conventional file names
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-13 23:44:17 -03:00
Carlos A Becker
53bbc6546f
fix: goamd64 should allow the only range from v1 to v4
It was just allowing v2 and v3 due to some misreading on my side.
This commit fixes it to allow v1, v2, v3 and v4.

refs #3016

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-13 21:30:08 -03:00
actions-user
11b4bf1bbc docs: update 2022-04-13 17:43:46 +00:00
Carlos A Becker
9fc502c18a
chore: update jsonschema 2022-04-12 01:09:20 -03:00
Carlos A Becker
9dfade2558
fix: nfpm default build ids to empty 2022-04-11 23:59:52 -03:00
Carlos Alexandro Becker
6c9a97f2af
docs: remove analytics (#3017)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-11 22:44:04 -03:00
Carlos Alexandro Becker
b0583c700b
feat: support GOAMD64 (#3016)
* feat: support GOAMD64

* fix: test

* wip

* wip: docker et al

* fix: archive format name

* test: added new test

* feat: nfpm amd4, mips et al

* chore: rm unused file

* fix: brew for multiple goamd64

* fix: krew

* feat: aur

* feat: krew

* docs: brew

* feat: gofis

* feat: scoop

* fix: docker filters

* fix: snapcraft

* fix: improve diff a bit

* fix: snapcraft name template
2022-04-11 22:43:22 -03:00
Carlos A Becker
e60965ecd3
docs: update actions doc 2022-04-11 09:35:03 -03:00
Carlos Alexandro Becker
3df29b67ab
feat: deprecate gofish (#2999)
* feat: deprecate gofish

gofish was deprecated by its authors, this deprecates it here too

refs https://github.com/goreleaser/goreleaser/discussions/2998

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: do not publish rig anymore

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: remove install

* chore: deprecate

* fix(gofish): fix broke logs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-04-02 10:41:05 -03:00
actions-user
78da3ea7d0 docs: update 2022-03-30 12:44:38 +00:00
fredbi
905a1640f1
feat(announce): added Slack notification options (#2988)
* feat(announce): added Slack notification options

This feature adds support for specifying a richer content in Slack
announcements. We may now specify "blocks" and "attachments" to produce
better-looking announcement messages.

* fixes #2986

The goreleaser configuration only exposes the top-level structures and does not
check the validity of the Slack API internal structures. This way, we do
not inject hard dependencies on changes in the Slack API.

Notice: untyped config parsing introduces a little hack to have yaml and
JSON marshaling work together properly. This hack won't be necessary
with yaml.v3.

How this has been tested?
-------------------------

* Added unit tests for the config parsing
* Added a (skipped) e2e test.
  For now, this requires a valid Slack webhook, so I've been able to test this manually.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

* added more unit tests

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

* removed yaml.v2 hack

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
2022-03-30 09:42:59 -03:00
Alex
1c47d88009
docs: fix typo in gitlab page (#3006)
Just a simple spelling fix
2022-03-27 22:15:24 -03:00
Carlos A Becker
7671dab291
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-20 21:00:37 -03:00
Carlos A Becker
2e058ecd28
docs: gitlab project access token docs
closes #2738

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 17:50:36 -03:00
actions-user
3ae9a6e8a5 docs: update 2022-03-19 20:46:08 +00:00