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
Carlos Alexandro Becker
5a6dd2fbc8
test: reducing test ouput ( #3222 )
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-07-04 21:13:10 -03:00
Carlos Alexandro Becker
1d72e963f4
feat: allow parallelism by build target ( #3213 )
...
* Trying to fix parallelism on multiple builds issue
https://github.com/goreleaser/goreleaser/issues/3209
* bugfixing
* Update internal/pipe/build/build_test.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* Update internal/pipe/build/build_test.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* Update internal/pipe/build/build_test.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
* fix: gofumpt
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
Co-authored-by: JD <jdpcbs@gmail.com >
2022-06-29 00:31:33 -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
Carlos Alexandro Becker
b3fcc54a32
feat: changelog group improvements ( #3203 )
...
This changes the changelog grouping feature a bit: it evaluates the
groups in the order they are declared in the config file, but renders
them following their `order` attribute.
This allows to have better filters, for instance, you might want to have
dependabot commits in another section, which does not need a high
priority in the changelog output, but does when evaluating, as it might
share the words with other groups: in goreleaser's case, the `feat`
prefix.
Giving that Go's regex seems to don't allow negative look-aheads (which
would help in this particular case), this seems like a good quality of
life improvement.
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-26 22:00:23 -03:00
Carlos Alexandro Becker
83e40717de
feat: allow to template release.repo ( #3205 )
...
* feat: allow to template release.repo
this will allow to use templates in the release.github/gitea/gitlab owner and name fields.
closes #3202
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* feat: allow to template release.repo
this will allow to use templates in the release.github/gitea/gitlab owner and name fields.
closes #3202
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-26 22:00:05 -03:00
CrazyMax
b1a3f301e7
fix: use default builder with buildx ( #3199 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-24 16:13:33 -03:00
Carlos Alexandro Becker
de9949705d
fix: blob upload eating errors ( #3185 )
...
closes #2652
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-24 00:14:12 -03:00
Carlos Alexandro Becker
72329ab722
refactor: improve handling of extra fields in artifacts ( #3191 )
...
* refactor: improve handling of extra fields in artifacts
Backporting from pro: with this we can parse the artifacts list from
json into the context and use them again.
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* test: fix
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-23 23:36:19 -03:00
Carlos Alexandro Becker
0a2e8fcada
fix: improve docker publish skipping ( #3184 )
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-23 08:49:33 -03:00
Carlos Alexandro Becker
d79484ef1d
feat: added --skip-before flag ( #3182 )
...
* feat: added --skip-before flag
this would allow to skip global before hooks
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: skip docker test
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-22 21:56:53 -03:00
Carlos Alexandro Becker
ae399220ef
feat: add --skip-docker ( #3176 )
...
Allow to skip the entire docker images and manifests builds.
Might be useful for faster local builds et al.
closes #3144
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-22 21:39:20 -03:00
Carlos Alexandro Becker
9efea360b9
refactory: make easier to manage merges with pro ( #3178 )
...
* refactory: improve cmd code
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: improve time reporting
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: improve artifacts json
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: improve artifacts json
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: diffs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* docs: improve root cmd help
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-22 01:48:11 -03:00
Carlos Alexandro Becker
fe7e2123bd
feat: replacing the log library ( #3139 )
...
* feat: replacing logs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests et al
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* feat: update termenv/lipgloss
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* wip: output
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: pin dep
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: deps
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: dep
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-21 21:11:15 -03:00
Carlos Alexandro Becker
2c59b8e1be
feat: remove empty_folders for good ( #3163 )
...
* feat: remove empty_folders for good
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
* fix: build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-06-14 11:15:17 -03:00
Carlos A Becker
38c5e6a371
fix: deprecation message of nfpm.maintainers
...
It was saying it should not be used anymore, while it is actually the
other way around: it should always be set.
closes #3124
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-05-24 09:12:10 -03:00
Corbin Phelps
8dde97c597
fix: Modified brew formula class generation to remove dots to match what homebrew expects ( #3117 )
...
Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com >
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com >
2022-05-20 10:25:35 -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
bbade2dd0f
fix: better handle docker skip errors ( #3107 )
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-05-12 14:44:09 -03:00
Carlos Alexandro Becker
9c426a7b16
refactor: evaluate archive files in another package ( #3101 )
...
* refactor: evaluate archive files in another package
would be used in #2911
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-05-11 22:56:25 -03:00
Carlos Alexandro Becker
5d9110ab43
refactor: improve archive pipe ( #3100 )
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-05-11 21:54:28 -03:00
Carlos A Becker
17e4d62791
fix: revert defaulting build.id to build.binary
...
refs #3098
refs #3063
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com >
2022-05-11 11:42:37 -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 A Becker
f83efdb67a
chore: ignore deprecated strings.Title warn
...
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-05-09 22:57:46 -03:00
Carlos Alexandro Becker
53b1ee07cf
feat: allow git remote urls from non-scm sources ( #3088 )
...
basically allows to use goreleaser against a repo with a git url without both owner and repo name.
closes #3060
closes #3058
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-05-09 09:32:43 -03:00
Carlos Alexandro Becker
f812d1b920
fix: nfpm deprecation on nfpm check ( #3087 )
...
closes #3067
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-05-08 21:13:56 -03:00
Carlos Alexandro Becker
ea7a696fab
feat: improve docker errors ( #3080 )
...
* feat: improve docker errors
Adding an error page with some more info to help debug issues.
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* fix: forgot return
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* fix: missing err
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-05-02 22:05:42 -03:00
Carlos 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
63436392db
fix: custom targets if missing goamd64, goarm, gomips ( #3056 )
...
* fix: custom targets if missing goamd64, goarm, gomips
if the user provide custom targets without the goamd64, goarm or gomips bit, things may go awry at some point.
this prevents issues by suffixing them with the default when its missing.
closes https://github.com/goreleaser/goreleaser/issues/3055
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* test: fix build tests
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-20 09:43:39 -03:00
Carlos Alexandro Becker
922992ce76
fix: archive ids ( #3052 )
...
* fix: archive ids
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* test: add archive id filter test
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-19 22:49:08 -03:00
Albert Salim
50fb252272
test: change test docker registry port numbers ( #3046 )
...
Port 5000 is used by MacOS Monterey for
Airplay Receiver by default.
2022-04-16 15:33:17 -03:00
Carlos A Becker
dbf2d0e293
fix: brew formula default goamd64
...
Was defaulting to v2 instead of v1.
closes #3049
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-16 15:26:14 -03:00
Carlos A Becker
3663ec1b13
test: goamd64 tests
...
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-15 23:26:25 -03:00
Carlos A Becker
21df724a1e
fix: snapcraft and GOAMD64
...
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-15 23:25:32 -03:00
Carlos A Becker
2d6e83cf3f
fix: nfpm conventional file names with GOAMD64
...
Fixes conventional file names when using GOAMD64
refs #3016
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-13 23:38:39 -03:00
Carlos A Becker
c30339070e
fix(snap): incorrect skip due go GOAMD64
...
the valid arch check was not considering GOAMD64
refs #3016
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-13 23:12:58 -03:00
Carlos Alexandro Becker
1c2a1b56d8
fix: nfpm lintian concurrency issue ( #3039 )
...
* fix: nfpm lintian concurrency issue
Several goroutines might touch the lintian file inside dist at the same
time, which might cause weird errors, namely `archive/tar: write too long`.
This PR fixes it by namespacing the file to the package name + arch,
so one goroutine won't touch the work of the other.
It also improves some logs and tests.
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* fix: linter issues
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-13 22:26:58 -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 Alexandro Becker
ce9058ac8c
refactor: use context on git exec calls ( #3032 )
2022-04-12 08:35:19 -03:00
Carlos A Becker
700c8a682f
fix: nfpm id filter
2022-04-12 01:08:49 -03:00
Carlos A Becker
9dfade2558
fix: nfpm default build ids to empty
2022-04-11 23:59:52 -03:00
Carlos A Becker
cd7edb7a2e
chore: fix typo
2022-04-11 23:58:39 -03:00
Carlos A Becker
9c773d6d6b
fix: remove some deprecated brew todos
2022-04-11 23:58:18 -03:00
Carlos A Becker
de825aab35
fix: remove deprecated todo
2022-04-11 23:57:17 -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
acfffe1c98
refactor: improve scoop tests ( #3031 )
...
* refactor: improve scoop tests
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* fix: improve diff a bit
2022-04-11 20:19:58 -03:00
Carlos Alexandro Becker
02595554de
fix: use universal binary id ( #3028 )
...
Ensure the new ID is set, and add a test to prevent the bug from
happening again.
closes #3027
2022-04-08 21:15:07 -03:00
dependabot[bot]
c50dbc5bd5
feat(deps): bump github.com/charmbracelet/keygen from 0.2.1 to 0.3.0 ( #3024 )
...
* feat(deps): bump github.com/charmbracelet/keygen from 0.2.1 to 0.3.0
Bumps [github.com/charmbracelet/keygen](https://github.com/charmbracelet/keygen ) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/charmbracelet/keygen/releases )
- [Commits](https://github.com/charmbracelet/keygen/compare/v0.2.1...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/charmbracelet/keygen
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: dep update
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-08 13:30:11 -03:00
Carlos Alexandro Becker
37f0f37bc0
feat: tmpl snap fields ( #3003 )
...
* feat: tmpl snap fields
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* added tests
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
* fix: broken test
Signed-off-by: Carlos A Becker <caarlos0@gmail.com >
2022-04-02 22:58:33 -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