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

3654 Commits

Author SHA1 Message Date
Ryan Currah
f734b503d4
feat(pipe/brew): install amd64 binaries when no arm64 binaries present (#2939)
Currently on a M1 macbook when adding a tap with formulas that only support amd64 it fails to add the tap. This prevents new arm64 users from using the tap. By allowing arm64 users to install an amd64 binary if no arm64 binary is avialable will atleast allow the user to use the tap.
2022-02-25 21:57:46 -03:00
Carlos Alexandro Becker
a5a1abc6c6
fix: release breaking when archive only (#2938)
For some reason the set lib was trowing an int overflow  error on snapshot
when there are no binary artifacts to sign.

Refs  #2839
See https://github.com/goreleaser/goreleaser/runs/5334854323?check_suite_focus=true#step:21:50

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-25 15:01:35 -03:00
Carlos A Becker
434248b34c
fix: release breaking when archive only
For some reason the set lib was trowing an int overflow  error on snapshot
when there are no binary artifacts to sign.

Refs  #2839
See https://github.com/goreleaser/goreleaser/runs/5334854323?check_suite_focus=true#step:21:50

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-25 13:55:32 -03:00
Alex Goodman
c8450633e5
fix: dedupliate cataloging binary artifacts (#2839) 2022-02-25 11:28:09 -03:00
dependabot[bot]
395ee0ae5b
chore(deps): bump golangci/golangci-lint-action from 2 to 3 (#2936)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 08:44:24 -03:00
Carlos Alexandro Becker
1bc01df5b9
fiX: improve aur key handling (#2935)
* fiX: improve aur key handling

make sure it has the right permissions and improve error messages

refs https://github.com/goreleaser/goreleaser-action/issues/326

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

* fix: improve error msgs, make sure file is closed

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-25 08:43:08 -03:00
Carlos Alexandro Becker
f640deb104
fix: trim spaces from aur private key (#2930)
I had this issue on a repo, and it seems at least one more person had it too: ssh/git complaining that the key is invalid.

My guess is that gh secret set from a file is now appending a new line - as it worked with the exact same key before, for me at least.

anyway, if thats it, this pr should fix it.

closes https://github.com/goreleaser/goreleaser-action/issues/326

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-24 22:58:25 -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
Allen Reese
3adc75ef33
docs: Add a new cookbook that covers using the jfrog-cli as an alternative to the artifactory publisher to publish to artifactory. (#2932) 2022-02-23 20:18:13 -03:00
Xijun Dai
6b0ea4d7d1
docs: fix indent on drone example (#2931) 2022-02-23 09:10:33 -03:00
Engin Diri
7aeac035a4
docs: add community section in README (#2929) 2022-02-22 21:23:20 -03:00
dependabot[bot]
f75f6feeee
chore(deps): bump sigstore/cosign-installer from 2.0.0 to 2.0.1 (#2928)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 13:12:22 -03:00
Justin Hammond
6ec690723e
docs: Homebrew README example formula (#2921) 2022-02-19 21:41:32 -03:00
Carlos Alexandro Becker
d6813ce54d
fix: do not copy binary by default (#2916)
* fix: do not copy binary by default

closes #2913

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

* chore: ref

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-19 15:10:37 -03:00
Carlos A Becker
99547865e1
docs: remove beta wording 2022-02-17 10:10:51 -03:00
dependabot[bot]
14edcd3ecc
feat(deps): bump github.com/charmbracelet/keygen from 0.2.0 to 0.2.1 (#2912) 2022-02-16 08:09:18 -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
dependabot[bot]
0b3106b9f0
chore(deps): bump actions/github-script from 5 to 6 (#2907)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 08:45:48 -03:00
dependabot[bot]
132da963c8
feat(deps): bump github.com/slack-go/slack from 0.10.1 to 0.10.2 (#2908)
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/slack-go/slack/compare/v0.10.1...v0.10.2)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 08:45:38 -03:00
Carlos Alexandro Becker
27db17e9f3
feat: update docker image's cosign (#2906)
update from v1.4.1 to v1.5.1

cc/ @cpanato

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-13 14:27:09 -03:00
Yann Hamon
9bcbaac264
feat: adds gpg to Docker image for signing of artifacts (#2905) 2022-02-13 13:37:38 -03:00
Carlos Alexandro Becker
4fc9be56f6
docs: artifacthub badge
refs #2830
2022-02-13 13:22:33 -03:00
Carlos A Becker
55d7eabc79
docs: update schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-12 14:22:26 -03:00
Carlos A Becker
02c22ce796
feat: update nfpm to v1.3.0
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-12 13:55:38 -03:00
dependabot[bot]
8cb5cec787
feat(deps): bump github.com/xanzy/go-gitlab from 0.54.4 to 0.55.1 (#2902)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.54.4 to 0.55.1.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.54.4...v0.55.1)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 01:01:32 -03:00
dependabot[bot]
03f8fb05be
feat(deps): bump golang from 1.17.6-alpine to 1.17.7-alpine (#2900)
Bumps golang from 1.17.6-alpine to 1.17.7-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-12 00:30:40 -03:00
dependabot[bot]
a2b1b49d73
feat(deps): bump github.com/goreleaser/fileglob from 1.2.0 to 1.3.0 (#2896)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Changelog](https://github.com/goreleaser/fileglob/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/fileglob/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/fileglob
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 23:17:13 -03:00
Carlos A Becker
3344ae3747
fix: go-crypto version
This fixes #2895, the issue was introduced in v1.2,
when we for some reason updated this lib.

Tested this manually, and it does fixes things.

We should probably also sign our own things
to get these kind of issues soon in the future.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-11 23:10:29 -03:00
actions-user
b658e7f9ca docs: update 2022-02-09 14:42:20 +00: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
actions-user
a3f9b69e11 docs: update 2022-02-09 12:02:45 +00:00
d7t
7a12747c17
docs: adds Conduit to USERS.md (#2893) 2022-02-09 09:01:08 -03:00
Carlos Alexandro Becker
db450029b0
docs: update license year 2022-02-08 14:21:36 -03:00
Carlos Alexandro Becker
9d49c50a70
docs: use the orgs code of conduct (#2889)
* chore: code of conduct links

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

* docs: use the orgs code of conduct

we dont need to keep a copy of it in every project, a single one should do.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-08 14:20:50 -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 Alexandro Becker
5f30f3606a
fix: make --release-notes flags more deterministic (#2888)
* fix: make --release-notes flags more deterministic

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

* chore: fmt

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-06 22:09:46 -03:00
Carlos A Becker
3426d04837
docs: update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-06 22:09:31 -03:00
Carlos Alexandro Becker
456f8aa2b1
feat: warn if loaded changelog is whitespace-only (#2885)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-06 14:24:47 -03:00
Carlos Alexandro Becker
c42a2fdc76
feat: allow a --output flag on goreleaser build (#2701)
* feat: allow a --output flag on goreleaser build

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

* fix: single build always to copies to root

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 18:19:12 -03:00
Carlos Alexandro Becker
750d520638
feat: make goreleaser.deb pass lintian validations (#2883)
* feat: make pkg pass lintian validations

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

* fix: lintian issues

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

* fix: bash completions

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 18:02:06 -03:00
Carlos A Becker
e3997f8802
feat: update go-github from v41 to v42
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 18:01:26 -03:00
Carlos A Becker
7f2233858f
fix: pro schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:50:59 -03:00
Carlos A Becker
4095da684b
fix: jsonschema on archives.files.info.group
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:48:41 -03:00
Carlos A Becker
9df62d87ec
fix: build log print relative path instead of abs
all other logs print relative paths, only the build logs are printing the abs path.

this makes things more even.

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:44:07 -03:00
Carlos A Becker
8f74c871bb
feat: update nfpm to v2.12.1
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 17:40:03 -03:00
Carlos A Becker
efdc4d0f48
test: fixed hooks tests
refs #2875
refs f585f3be69

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 16:28:17 -03:00
Carlos A Becker
f585f3be69
feat: allow to output on hooks
refs #2875
2022-02-05 16:00:49 -03:00
Carlos A Becker
482cc6479c
chore: do not run schedule action on forks
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-05 10:11:38 -03:00
Carlos Alexandro Becker
a5d3e7bf4b
feat: replace cobra with coral (#2881)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-04 16:31:19 -03:00