Carlos Alexandro Becker
25a8e55b6d
feat: update nfpm to v2.15.0 ( #2990 )
...
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-18 23:54:46 -03:00
Carlos Alexandro Becker
b406e4ab0c
fix(ci): golangci-lint on go 1.18 ( #2989 )
2022-03-18 18:25:50 -03:00
actions-user
261af2d355
docs: update
2022-03-17 11:55:25 +00: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
dependabot[bot]
617cd81746
chore(deps): bump actions/setup-go from 2.2.0 to 3 ( #2987 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](bfdd3570ce...f6164bd8c8
)
---
updated-dependencies:
- dependency-name: actions/setup-go
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-17 08:47:57 -03:00
Carlos Alexandro Becker
0a66b3dc85
feat: deprecate buildpacks ( #2982 )
2022-03-17 07:55:17 -03:00
actions-user
31df0a0716
docs: update
2022-03-17 02:39:09 +00: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
077ce16174
feat: more go 1.18 ( #2984 )
...
* feat: more go 1.18
moved more workflows to go 1.18, switched some code to strings.Cut
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
* revert unwanted change
2022-03-16 23:28:13 -03:00
Naveen
1be9ede767
fix(ci): pinned workflow by hash ( #2977 )
...
* Pinned workflow by hash
- Pinned actions by SHA https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies
- Included permissions for some of the actions. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
* Fixed conflicts
2022-03-17 01:29:18 +00:00
Carlos Alexandro Becker
3c4e797150
feat: upgrade to go 1.18 ( #2978 )
...
* feat: upgrade to go 1.18
* chore: go mod tidy
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
* test: fix
* fix: more updates
* test: fix test
2022-03-16 21:51:48 -03:00
Carlos Alexandro Becker
4c477b5cd1
fix: brew.post_install indent ( #2981 )
...
properly indent brews.post_install block, and also fix indent on newly
added brews.service block.
closes #2980
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-03-16 21:40:25 -03:00
actions-user
3eaec333d7
docs: update
2022-03-17 00:14:26 +00: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
dependabot[bot]
b7bba2ba3e
feat(deps): bump github.com/xanzy/go-gitlab from 0.56.0 to 0.59.0 ( #2969 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.56.0 to 0.59.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.56.0...v0.59.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-16 14:41:45 +00:00
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