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

3575 Commits

Author SHA1 Message Date
dependabot[bot]
db3642f1df
feat(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#2979)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-03-16 11:23:38 -03:00
Carlos A Becker
42258cf473
fix: double quotes
Co-authored-by: Christian Muehlhaeuser <muesli@gmail.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-11 22:23:19 -03:00
Carlos Alexandro Becker
c17ff3b966
fix(aur): improve yay caching (#2965)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-09 09:50:57 -03:00
dependabot[bot]
2d9acf65b5
chore(deps): bump sigstore/cosign-installer from 2.0.1 to 2.1.0 (#2961)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  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-03-07 09:18:18 -03:00
dependabot[bot]
b0b982f162
chore(deps): bump anchore/sbom-action from 0.6.0 to 0.7.0 (#2960)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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-03-07 09:16:00 -03:00
dependabot[bot]
31212ad87d
feat(deps): bump golang from 1.17.7-alpine to 1.17.8-alpine (#2963) 2022-03-07 07:15:56 -03:00
Carlos A Becker
788a4394e1
fix: ensure aur key has eof newline 2022-03-06 17:27:23 -03:00
Carlos A Becker
c0779dbd30
fix: schema update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-06 15:19:42 -03:00
actions-user
1950a45633 docs: update 2022-03-06 02:18:20 +00: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
dependabot[bot]
c52f904245
feat(deps): bump github.com/xanzy/go-gitlab from 0.55.1 to 0.56.0 (#2950)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.55.1 to 0.56.0.
- [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.55.1...v0.56.0)

---
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-03-03 10:41:46 -03:00
Carlos Alexandro Becker
0bb1c99074
feat: update go-github to v43 (#2948)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-02 09:17:08 -03:00
dependabot[bot]
6e08c72ba4
chore(deps): bump actions/checkout from 2 to 3 (#2949)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-03-02 09:15:04 -03:00
Carlos Alexandro Becker
5828dd8d9b
fix: nfpm globbing multiple times (#2947)
The nfpm pipe was globbing the input list, and then globbing its result
as well. If you add a folder that had a file with, say `[]`, in it, it
would later fail the release upon trying to evaluate that as a glob.

This is probably some faulty nFPM update in which I should have removed
that but didn't.

Either way, this should fix it.

closes #2946
2022-03-01 20:57:12 -03:00
dependabot[bot]
a1630f8250
feat(deps): bump github.com/atc0005/go-teams-notify/v2 (#2942)
Bumps [github.com/atc0005/go-teams-notify/v2](https://github.com/atc0005/go-teams-notify) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/atc0005/go-teams-notify/releases)
- [Changelog](https://github.com/atc0005/go-teams-notify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/atc0005/go-teams-notify/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: github.com/atc0005/go-teams-notify/v2
  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-28 08:16:24 -03:00
Carlos Alexandro Becker
f632056820
feat: faster archiving with pgzip (#2941)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-27 13:16:08 -03:00
Carlos Alexandro Becker
d649263473
feat(deps): upgrade nfpm to v2.14.0 (#2940)
upgrade from v2.13.0 to v2.14.0

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-27 12:56:09 -03:00
Carlos A Becker
73aed29f83
docs: github actions and tag fetching
closes #2919
2022-02-25 22:41:00 -03:00
Carlos A Becker
88a030ccc9
docs: update 2022-02-25 22:05:40 -03:00
Carlos A Becker
67382ee69e
fix: typo in goreleaser build help 2022-02-25 22:04:46 -03:00
Carlos A Becker
e0607fcf94
Merge remote-tracking branch 'origin/main' 2022-02-25 22:00:05 -03:00
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