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

491 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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 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
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
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
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
20b773de28
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-11 22:09:42 -03:00
Carlos Alexandro Becker
a42c8ae706
feat: aur backup (#3366)
closes #3353
2022-10-05 09:42:17 -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
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
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
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
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
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 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
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 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
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
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
94ed9e9309
docs: schema update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-21 16:30:00 -03: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
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
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 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
6708031ae5
docs: improve wording on archive 2022-08-07 12:24:11 -03: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
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
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
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 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
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
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 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
naglis
0c9c82ab2f
docs: fix typos (#3204) 2022-06-25 21:30:10 -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
Randy Fay
954a0e7459
docs: fix typo in archive.md (#3189) 2022-06-23 22:40:25 -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
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
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 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 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
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
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
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
Carlos A Becker
9dfade2558
fix: nfpm default build ids to empty 2022-04-11 23:59:52 -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 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
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
Carlos Alexandro Becker
72f9c7a18f
feat: allow to filter by ext on http upload pipe (#2992)
The idea is to be able to filter by extension and send each extension to
a different place, if needed.

This also affects the artifactory pipe.

Also updated artifactory docs a bit.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-19 17:44:34 -03:00
Carlos Alexandro Becker
08c9038c29
feat: set -mod on gomod pipe (#2983)
this allows to set the -mod flag on the command used to grab the module
root package, in case its needed to ignore the vendor folder, force
readonly, etc...

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-17 08:53:39 -03:00
Carlos Alexandro Becker
0a66b3dc85
feat: deprecate buildpacks (#2982) 2022-03-17 07:55:17 -03:00
Carlos Alexandro Becker
d81820bb01
feat: remove some deprecated code, go 1.15 support (#2985)
* feat: remove some deprecated code, go 1.15 support

- auto ignore darwin/arm64 on go <1.15, check https://goreleaser.com/deprecations/#builds-for-darwinarm64
- `dockers.use_buildx` (do not mix with `dockers.use: buildx`), check https://goreleaser.com/deprecations/#dockersuse_buildx

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

* test: remove deprecated test
2022-03-16 23:37:29 -03:00
Carlos Alexandro Becker
7730a4de94
feat: brew service block (#2973)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-16 21:12:57 -03:00
David Stotijn
c4017fca69
feat: add missing Snapcraft app metadata fields (#2955)
* fix: add missing snapcraft app metadata fields

* docs: add missing snapcraft app metadata fields

* Apply suggestions from code review

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-03-05 23:16:43 -03:00
Carlos Alexandro Becker
d295d0bdff
feat: annotated tag body (#2923)
* feat: annotated tag body

this adds another template variable, `TagBody`, with the body of the annotated tag/commit message only.

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

* refactor: tag contents

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-24 22:57:51 -03:00
Carlos Alexandro Becker
f0af44ccbe
feat: add filter and reverseFilter template functions (#2924)
* feat: add grep and grep -v template functions

this adds `grep` and `reverseGrep` template functions, which should help dealing with text.

refs #2920

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

* refactor: rename funcs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-24 22:57:43 -03:00
Justin Hammond
6ec690723e
docs: Homebrew README example formula (#2921) 2022-02-19 21:41:32 -03:00
Carlos A Becker
99547865e1
docs: remove beta wording 2022-02-17 10:10:51 -03:00
Carlos Alexandro Becker
d07a5a8541
feat: change default nfpm bindir (#2910)
/usr/local/bin is intended for binaries compiled locally, which is never
the case for goreleaser.

this changes the default to /usr/bin instead.

closes #2909

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-14 21:54:04 -03:00
Carlos Alexandro Becker
02a94ce23e
feat: lintian overrides (#2892)
* feat: lintian overrides

allow to more easily set lintian overrides

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

* fix: lintian

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-09 11:40:51 -03:00
Carlos Alexandro Becker
c457d8fff7
feat: allow to use .Path and .Name on universal binary post hooks (#2891)
* feat: allow to use .Path and .Name on universal binary post hooks

This allows the usage of `{{ .Path }}` and `{{ .Name }}` on post
templates.

Closes #2890

* docs: improve docs

* test: add more tests
2022-02-08 11:44:47 -03:00
Carlos A Becker
f585f3be69
feat: allow to output on hooks
refs #2875
2022-02-05 16:00:49 -03:00
Carlos Alexandro Becker
1bdfc9cdff
feat: allow to override build flags by goos/goarch/etc (#2860)
* feat: allow to override build flags by goos/goarch/etc

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

* test: improve

* fix: typos

* feat: templates, merges

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

* test: fix

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

* test: one more case

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

* Update internal/builders/golang/build.go

Co-authored-by: Brian Flad <bflad417@gmail.com>

* Update internal/builders/golang/build.go

Co-authored-by: Brian Flad <bflad417@gmail.com>

* test: more tests

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

Co-authored-by: Brian Flad <bflad417@gmail.com>
2022-02-02 00:01:34 -03:00
Carlos Alexandro Becker
9d481d4630
feat: expose runtime goos and goarch on templates and metadata (#2859)
* feat: expose runtime goos and goarch on templates and metadata

* test: fix duplicated map literal in some os/arch

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-31 22:36:22 -03:00
Carlos A Becker
0b494f741a
docs: description multiline example
refs  #2861

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-31 15:13:07 -03:00
staticdev
a4176386b2
docs(nfpm): two line "extended" description (#2864) 2022-01-31 14:42:45 -03:00
Carlos A Becker
fa4ba760d9
docs: do not indicate that branch will be created
refs  #2831
2022-01-30 22:30:07 -03:00
Carlos A Becker
7085b4c557
docs: improve docs for changelog skipping
closes #2601
2022-01-30 11:28:00 -03:00
Carlos A Becker
acddce5777
fix(aur): use StrictHostKeyChecking=accept-new by default
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-21 22:17:12 -03:00
Carlos A Becker
592e763f6b
docs: update docs and schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-20 16:22:54 -03:00
Carlos Alexandro Becker
b02bec962e
feat: arch user repository integration (#2838)
* feat: aur PKGBUILD integration

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

* feat: guess install, improve formatting

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

* fix: more deterministic

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

* feat: binary releases, push, more tests

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

* feat: accept key as text

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

* feat: improvements

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

* feat: srcinfo

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

* fix: compile

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

* fix: everything

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

* fix: lint

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

* feat: renames, docs, etc

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

* docs: link to docs

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

* fix: go mod tidy, title

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

* fix: srcinfo tmpl

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

* fix: missing close quote

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

* fix: templates

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

* fix: always defaults conflicts and provides

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

* fix: ssh command

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

* fix: maintainers can be a list

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

* fix: ensure -bin suffix, more tests and docs

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

* fix: this will never happen

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

* fix: whitespaces

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

* fix: goreleaser config

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-20 14:59:39 -03:00
Engin Diri
339bcabbb5
feat: add generic webhook announcer (#2750) 2022-01-08 14:46:27 -03:00
Carlos Alexandro Becker
4a4c5ec5a6
feat: allow multiple ids on universal binaries (#2811)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-07 09:16:54 -03:00
Brian Flad
791de897bb
feat: support extra_files in publishers (#2770)
Reference: https://github.com/goreleaser/goreleaser/issues/2768

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-01-06 22:04:43 -03:00
Carlos Alexandro Becker
8e1b6a1bbb
feat: allow to template dockerfile (#2797)
* feat: allow to template dockerfile

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

* test: added one more test

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-01-06 15:34:55 -03:00
Engin Diri
a19ee5fc42
docs: rename in the docs goreleaser.yml to goreleaser.yaml (#2784) 2021-12-22 21:52:01 -03:00
Carlos Alexandro Becker
f42e0872f6
fix: do not group changelog when using github-native (#2781)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 14:21:05 -03:00
Carlos A Becker
1f0685f248
docs(nfpm): note about conventional file names and armv6/v7
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-21 13:50:21 -03:00
Carlos A Becker
c540c6cbf5
docs: fix hooks env usage
closes #2762

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-15 16:03:58 -03:00
Alex Goodman
bfdec808ab
feat: add sbom generation pipe (#2648)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-12-12 00:21:51 -03:00
Carlos Alexandro Becker
6ea7fb792a
feat: annotated tag contents (#2744)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 16:52:26 -03:00
Carlos Alexandro Becker
7c2a93cfaa
feat: allow to always log signing output (#2731)
* feat: allow to always log signing output

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

* fix: improve code a bit

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-06 10:07:47 -03:00
Carlos Alexandro Becker
9b9eef04a2
feat: get annotated tag message (#2730)
refs  #2726

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-05 23:23:15 -03:00
Carlos Tadeu Panato Junior
bd7a8d42a8
docs: update documentation for signing when using cosign (#2724)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-03 14:22:31 -03:00
Carlos A Becker
af4a8642bd
docs: update tmpl
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-28 20:41:04 -03:00
Carlos Alexandro Becker
b8f61718f3
feat: allow to customize release notes update behavior (#2702)
* feat: allow to customize release notes update behavior

closes #1384

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

* fix: make it a bit better

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

* fix: jsonschema

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-26 09:59:15 -03:00
Carlos A Becker
53bd977810
docs: minor improvements
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-25 00:20:40 -03:00
Erik Kristensen
274ffae03c
feat: add git summary support (aka git describe --dirty --tags --always) (#2700)
* feat: add git summary support (aka git describe --dirty --tags --always)

* feat: update documentation for new summary template variable

* test: add tests for new summary feature
2021-11-25 03:01:56 +00:00
Weslei Juan Novaes Pereira
e53b4940de
docs: add docs for universal binaries hook (#2696) 2021-11-24 10:30:23 -03:00
Carlos Alexandro Becker
cd261a527a
feat: allow to use .PreviousTag on templates (#2683)
* feat: expose .PreviousTag

* fix: previous tag will never be a commit

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

* fix: tests

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

* docs: tag

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-24 09:12:24 -03:00
Engin Diri
5ac11a1cba
feat: add changelog sorting (#2670)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-11-23 22:23:53 -03:00
Carlos Alexandro Becker
d202e788a4
feat: remap extra_files (#2678)
* feat: template on extra_files

* feat: remap extra_files

* docs: wording

* chore: log, more tests
2021-11-23 22:18:47 -03:00
Carlos Alexandro Becker
808b603506
feat: template on extra_files (#2677)
* feat: template on extra_files

* Update internal/extrafiles/extra_files_test.go

Co-authored-by: Brian Flad <bflad417@gmail.com>

* Update www/docs/customization/blob.md

Co-authored-by: Brian Flad <bflad417@gmail.com>

Co-authored-by: Brian Flad <bflad417@gmail.com>
2021-11-22 14:53:08 -03:00
Carlos Alexandro Becker
72434a036e
fix: ensure certificate is always within dist (#2680)
* fix: ensure certificate is always within dist

* fix: improve impl

* fix: uneeded err check
2021-11-22 14:52:30 -03:00
Carlos A Becker
d296507f3a
docs: improve signing docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-11-21 21:02:05 -03:00
Carlos A Becker
dd1db26459
docs: improve manifest docs
closes #2606
2021-11-21 12:57:07 -03:00
Carlos A Becker
3142db6d86
chore(ci): auto-close milestones on release
closes ##2675
2021-11-21 12:34:28 -03:00
Carlos A Becker
f318be4529
feat: update nfpm to 2.9.2 2021-11-14 11:22:27 -03:00
Carlos Alexandro Becker
6528948217
feat: update nfpm (#2640)
* feat: update nfpm

* feat: update nfpm

* feat: update nfpm

* feat: update nfpm

* fix: dir type

* docs: dir

* docs: typo

* fix: race

* fix: race cond
2021-11-13 22:23:11 -03:00
Carlos A Becker
416d76eec4
feat: rename main branch
refs #2645
2021-11-12 17:23:32 -03:00
Carlos Alexandro Becker
df0216d585
feat: nfpm conventional file name (#2663) 2021-11-12 12:07:59 +00:00
Carlos A Becker
93d4f7e390
docs: changelog 2021-11-11 23:57:17 -03:00
Carlos A Becker
13e60ee3b2
docs: linkedin 2021-11-11 23:54:19 -03:00
Carlos A Becker
91f6b142fa
fix: linkedin release url 2021-11-11 23:53:40 -03:00
Carlos Alexandro Becker
312e52a760
feat: sign with env and output certificate (#2662)
* feat: sign with env and output certificate

* fix: test

* fix: prop name

* test: blob upload

* test: http upload

* test: exec

* test: sign
2021-11-11 22:56:03 -03:00
Carlos Alexandro Becker
52cf951c30
feat: krew support (#2639)
* feat: krew support

* fix: adds it to the pipe

* chore: fmt

* test: improvements

* fix: rm unused code

* fix: stringer

* fix: tmpl

* test: improvements

* fix: lint issues

* fix: only allow 1 binary per archive

* fix: validate

* chore: comment

* fix: renamed to manifest

* fix: krew plugin manifest

* fix: name

* fix: godoc

* fix: install validate-krew-manifest on ci

* fix: helper

* fix: ensure order

* fix: testing

* docs: guidelines

* fix: flag
2021-11-11 09:37:58 -03:00
Carlos Alexandro Becker
8eae8b013a
feat: support github release notes (#2638)
* feat: support github release notes

* chore: godoc

* test: cover it with tests

* chore: fmt

* refactor: remove unused code
2021-11-07 12:53:28 -03:00
Furkan Türkal
aa41862fe0
feat: announce to LinkedIn (#2492)
Fixes #2428

Signed-off-by: Furkan <furkan.turkal@trendyol.com>
Co-authored-by: Batuhan Apaydin <batuhan.apaydin@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>

Co-authored-by: Batuhan Apaydin <batuhan.apaydin@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-11-06 21:04:08 -03:00
Carlos Alexandro Becker
a2ba9cb8fa
refactor: release url (#2637)
* refactor: release url

* chore: fmt

* chore: less diffs

* docs: lowercase everything

* chore: improve fmt

* chore: revert
2021-11-06 16:54:01 -03:00
Carlos A Becker
1b775c541c
docs: fix announce default urls 2021-11-06 16:49:33 -03:00
Carlos A Becker
a7b929a403
docs: improve templates.md 2021-11-06 16:44:59 -03:00
Furkan Türkal
8e89e3fde3
fix: remove .git suffix by default from announcers (#2623)
* fix: remove .git suffix by default from announcers

Fixes #2622

Signed-off-by: Furkan <furkan.turkal@trendyol.com>
Co-authored-by: Batuhan <batuhan.apaydin@trendyol.com>
Co-authored-by: Erkan <erkan.zileli@trendyol.com>

* feat(doc): update defaults

Signed-off-by: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-by: Batuhan <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan <furkan.turkal@trendyol.com>

Co-authored-by: Batuhan <batuhan.apaydin@trendyol.com>
Co-authored-by: Erkan <erkan.zileli@trendyol.com>
2021-11-02 20:03:23 -03:00
Tom Payne
b1a0f35b14
feat(source): add prefix_template option (#2620) 2021-11-02 19:57:20 -03:00
Carlos A Becker
c6dbd1f36a
docs: fix fury.io link 2021-10-30 09:59:18 -03:00
Carlos A Becker
2be6f399bf
docs: improve search
fixes #2616
2021-10-30 09:50:23 -03:00
Carlos A Becker
a875ac8c70
docs: improvign docs and search
refs #2616
2021-10-30 09:43:54 -03:00
Carlos A Becker
c9c285583c
docs: fix jsonschema links 2021-10-29 14:03:29 -03:00
Carlos A Becker
679ed3b7c9
docs: improve universal binaries docs
closes #2579
2021-10-26 23:10:49 -03:00
Carlos A Becker
163afac53c
docs: update with jsonschema 2021-10-26 15:15:26 -03:00
Carlos A Becker
7d6c4c95a3
docs: fix macOS wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 19:58:27 -03:00
Carlos Alexandro Becker
3c98e86620
feat: create macOS Universal binaries (#2572)
* feat: artifacts.Remove

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

* feat: fatbinary

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

* feat: run fatbinary on pipeline

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

* feat: make archives work with fat binaries

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

* feat: make brew work with fat binaries

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

* feat: make gofish work with fat binaries

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

* test: archive binary fatbin

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

* docs: fat binaries

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

* test: fix on linux

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

* feat(ci): enable fat bins on goreleaser itself

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

* refactor: rename to universal binaries

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

* fix: config

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

* fix: rename prop

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 14:55:43 -03:00
Drew Stinnett
03b6805715
feat: Adding gitlab api changelog (#2567)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-10 10:52:46 -03:00
Patrick Hahn
e64b2cd8da
feat: Allow release notes to be used in template strings (#2566)
When using the announce feature, you might want to inform your users about the features and changes that this release brings. This change allows you to use {{ .ReleaseNotes }} in any template string, after the changelog pipeline step has been executed.
2021-10-07 14:19:19 -03:00
Pedro López Mareque
d32454e279
Add telegram announcer (#2563)
* feat: add telegram announcer

* chore: remove hooks and use the Send method of the bot API

* chore: add docs and default config

* chore: add docs and default config

* chore: fix tabs

* chore: add docs

* chore: fix pr comments

* chore: fix pr comments

* chore: fix pr comments

* chore: add missing links in docs
2021-10-07 13:01:31 +00:00
Carlos Alexandro Becker
89e5a4ebf1
feat: changelog from github (#2548)
* feat: changelog from github

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

* refactor: unifying client mocks

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

* refactor: unifying client mocks

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

* fix: mocks

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

* test: added tests

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

* fix: remove unused code

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

* test: added more

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

* fix: testdata

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

* fix: fmt

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

* test: fix

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

* test: fix

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

* docs: improve docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-04 09:32:30 -03:00
Carlos A Becker
57f79e91f8
docs: update gofish and scoop docs
refs #2539

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-03 11:25:31 -03:00
Drew Stinnett
e0315ff4c4
feat: allow default branch to be used in CreateFile (#2539)
* feat: allow default branch to be used in gitlab

* feat: add func to get default branch

* fix: matching branch args

* feat: branch customization

* fix: fixing dummyclient naming

* refactor: remove createbranch

* feat: Adding gitlab branch customization

* feat: testing for github and gitea defaultbranch

* fix: remove dummy debug message

* fix: removing note about gitea not being supported

* feat: allow default branch to be used in gitlab

* docs: links updat

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

* chore: delete kodiak.yml

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

* feat: add func to get default branch

* fix: matching branch args

* feat: branch customization

* fix: docs: Missing mattermost docs on website (#2543)

* docs: update CircleCI example (#2545)

* fix: fixing dummyclient naming

* docs: some little fixes on the webpage (#2547)

* feat: some little fixes on the webpage

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* Update www/docs/overrides/home.html

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

* refactor: remove unused not impl error (#2540)

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

* feat: add template support for homebrew tap owner (#2544)

* feat: add template support for homebrew tap name

refs #2544

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

* refactor: remove createbranch

* feat: Adding gitlab branch customization

* feat: testing for github and gitea defaultbranch

* fix: remove dummy debug message

* fix: removing note about gitea not being supported

Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: Engin Diri <engin.diri@mail.schwarz>
Co-authored-by: Ricardo N Feliciano <FelicianoTech@gmail.com>
Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Erik Weber <terbolous@gmail.com>
2021-10-03 11:22:26 -03:00
Carlos Alexandro Becker
e2f7c83064
feat: allow to skip announcers (#2528)
* feat: allow to skip announcers

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

* docs: announce.skip

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 22:33:04 -03:00
Carlos Alexandro Becker
3b971331b9
docs: fix formating
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-28 22:24:08 -03:00
Carlos Tadeu Panato Junior
519a4f67c5
feat: announce: mattermost (#2536)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-28 20:18:35 -03:00
Engin Diri
d2a63c1093
feat: publish: GoFish integration (#2509)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-28 20:16:39 -03:00
Carlos Alexandro Becker
164d462470
docs: improve customization section (#2507)
* docs: improve customization section

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

* fix: improve docs

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

* fix: ignore edit urls in htmltest

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-27 22:43:00 -03:00
Carlos Alexandro Becker
3d62f95fd5
docs: nightly pro feature
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-24 20:18:52 -03:00
Carlos Alexandro Becker
833db79bda
feat: removes deprecated non-semver allowance (#2503)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:39:28 -03:00
Carlos Alexandro Becker
8c28b48b59
docs: uncapitalize
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-23 00:31:50 -03:00
Carlos Alexandro Becker
c718d9a27c
docs: improve hooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:42:59 -03:00
Carlos Alexandro Becker
efb4bce9e4
docs: improve hooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:40:55 -03:00
Carlos Alexandro Becker
3d2f82461f
docs: improve hooks, fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:37:30 -03:00
Carlos Alexandro Becker
55dd91e404
docs: improve several documentation pages
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-22 23:30:16 -03:00
Carlos Alexandro Becker
8d73d70e6e
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-21 22:40:41 -03:00
Carlos Alexandro Becker
820194cc92
docs: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-16 14:32:36 -03:00
Batuhan Apaydın
afad409c76
feat: add SMTP support to the announces (#2485)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-with: Erkan Zileli <erkan.zileli@trendyol.com>
Co-authored-with: Furkan Turkal <furkan.turkal@trendyol.com>
2021-09-15 18:38:58 +00:00
Carlos Tadeu Panato Junior
8ecddfa2a0
docs: fix environment variable to be COSIGN_PWD (#2489)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-15 08:50:43 -03:00
Carlos Alexandro Becker
5f4ea3f9cb
docs: improve announce and home
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-12 22:41:54 -03:00
Carlos Alexandro Becker
b654a31160
docs: update prebuilt opts
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-12 20:40:50 -03:00
Engin Diri
1c44c2149d
feat: announce: teams (#2482)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-12 19:57:58 -03:00
Carlos Alexandro Becker
b542041df4
docs: fix list
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 15:02:36 -03:00
Carlos Alexandro Becker
315c805efc
docs: improve docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 15:01:47 -03:00
Carlos Alexandro Becker
2c6c832d3c
docs: fix list
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:56:56 -03:00
Carlos Alexandro Becker
65e2505ef4
docs: prebuilt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:56:09 -03:00
Carlos Alexandro Becker
c18d2236fa
docs: new pro features
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-11 14:33:01 -03:00
Engin Diri
311479504e
feat: announce: discord (#2478)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-09-11 17:23:54 +00:00
Erkan Zileli
5ea003c6f6
feat(docker): add buildpacks support (#2461)
* feat(docker): add buildpacks support

Signed-off-by: Erkan Zileli <erkanzileli@gmail.com>

* fix: move buildpacker imager code into own go file

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix: use docker imager push method for buildpack imager push

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix: return statement

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* move test into api_buildback_test

Signed-off-by: Furkan <furkan.turkal@trendyol.com>

* fix: use buildpacks instead of buildpack

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>

* fix(lint): fix lint issue

* fix(buildpacks): use cwd instead of root directory

* doc: add how to use a custom buildpack document

Signed-off-by: Erkan Zileli <erkan.zileli@trendyol.com>

* fix(doc): update docs as suggested

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

Co-authored-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan <furkan.turkal@trendyol.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-11 02:21:33 +00:00
Carlos Alexandro Becker
717051d70f
docs: fix wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-07 16:16:50 -03:00
Carlos Alexandro Becker
8afb5eafe5
feat: Add support for templating NFPM bindir (#2466)
* feat: Add support for templating NFPM bindir

Example: Allow software to be deployed in '/usr/lib64' directory on x86_64 arch
and in '/usr/lib' directory in i386

* test: invalid bindir template

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

* docs: bindir template

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

Co-authored-by: Rémi Ferrand <remi.ferrand@cc.in2p3.fr>
2021-09-07 15:43:06 -03:00
angie pinilla
9667216403
feat: add support for checksum generation for extra files (#2406)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-09-01 23:07:43 -03:00
Carlos Alexandro Becker
17f71590e8
docs: announce
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 16:48:16 -03:00
Furkan Türkal
aa28f31ab5
feat: announce: slack (#2429)
Fixes #2425

Signed-off-by: Furkan <furkan.turkal@trendyol.com>
2021-09-01 16:46:25 -03:00
Carlos Alexandro Becker
b661a57105
feat: allow to template brew message (#2447)
closes #2441

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 10:27:31 -03:00
Carlos Alexandro Becker
b63e544725
feat: templateable nfpm key files (#2448)
closes #2419

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-09-01 10:27:08 -03:00