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

3819 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
236e987ced
refactor(build): remove unused param (#3248)
we dont need to check the go version anymore, so we can remove all this
now.

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-22 09:51:39 -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
actions-user
3cf64c1541 chore: docs auto-update 2022-07-12 12:58:25 +00:00
dependabot[bot]
dc44ecda4a
chore(deps): bump actions/setup-go from 3.2.0 to 3.2.1 (#3235)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](b22fbbc292...84cbf80943)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-07-12 09:56:52 -03:00
Carlos Alexandro Becker
de3f381f55
fix: build env overrides (#3232)
* fix: build env overrides

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: review

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-07-07 22:15:51 -03:00
Artur Troian
02a3486d4b
fix(build): set workdir as safe for git when running docker image (#3229)
prevents git from panic when running goreleaser as docker in CI env

Signed-off-by: Artur Troian <troian.ap@gmail.com>
2022-07-06 23:48:17 -03:00
dependabot[bot]
4e238184fe
feat(deps): bump github.com/invopop/jsonschema from 0.4.0 to 0.5.0 (#3227)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/invopop/jsonschema/releases)
- [Commits](https://github.com/invopop/jsonschema/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/jsonschema
  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-07-06 13:01:01 +00:00
Carlos A Becker
5bcd56bcbd
chore(ci): prevent gpl deps
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-06 09:50:26 -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
Weslei Juan Novaes Pereira
5b591c9648
fix: make skip message more idiomatic (#3223) 2022-07-04 21:12:56 -03:00
Carlos Alexandro Becker
f24f1a0a70
fix: improve output on github actions (#3221)
* fix: improve output on github actions

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: log

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: force ascii

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-04 16:12:24 -03:00
Carlos A Becker
c431afb985
chore: trigger docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-04 14:01:52 -03:00
dependabot[bot]
7bb16e271a
chore(deps): bump sigstore/cosign-installer from 2.4.0 to 2.4.1 (#3220)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.4.0...v2.4.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-07-04 10:37:54 -03:00
Carlos A Becker
71283cc274
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-04 10:05:19 -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
dependabot[bot]
e9088c3df1
feat(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#3217)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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-06-30 09:44:51 -03:00
dependabot[bot]
a535b87b4a
chore(deps): bump github/codeql-action from 2.1.14 to 2.1.15 (#3214)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.14 to 2.1.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](41a4ada31b...3f62b754e2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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-06-29 10:11:14 -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
cf3c758356
feat: allow multiple ids to be passed to build (#3212)
* Allow multiple ids to be passed to build

goreleaser build --id build 1 --id build2

* addressing cr

* addressing cr

* fix: rename to ids

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: improve output

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Co-authored-by: JD <jdpcbs@gmail.com>
2022-06-28 23:37:38 -03:00
dependabot[bot]
97b4360848
feat(deps): bump github.com/xanzy/go-gitlab from 0.68.0 to 0.68.2 (#3208)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.68.0 to 0.68.2.
- [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.68.0...v0.68.2)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  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-06-27 09:18:20 -03:00
Carlos A Becker
67b3ce0199
docs: update pro schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-27 08:55:59 -03:00
Carlos A Becker
5aed49bd0a
chore(ci): do not run gitleaks on prs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-27 08:55:38 -03:00
Carlos Alexandro Becker
5e57eceb50
fix(ci): less logs in the test output (#3207)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-27 00:13:08 -03:00
actions-user
2ea3e45020 chore: docs auto-update 2022-06-27 01:02:52 +00: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
Rıza Sabuncu
153226a560
docs: update wrong permission key (#3206) 2022-06-26 21:58:59 -03:00
naglis
0c9c82ab2f
docs: fix typos (#3204) 2022-06-25 21:30:10 -03:00
Carlos A Becker
ad2986a2e1
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:42:11 -03:00
Carlos A Becker
e8f3f012db
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:41:58 -03:00
Carlos Alexandro Becker
187750a752
fix: run defaults pipe before before pipe (#3198)
otherwise, before might not have some template variables, for example,
the project name.

not sure if this will have adverse side effects though, need to think a
bit more about it.

fixes #3196

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-25 16:39:38 -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
dependabot[bot]
82c64f54ff
feat(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#3195)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

---
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-06-24 09:42:38 -03:00
Carlos Alexandro Becker
d58a3e72c3
chore(ci): improve tparse output (#3193)
* chore(ci): improve tparse output

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* chore(ci): improve tparse output

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-24 09:33:34 -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 A Becker
cc80b0edbf
docs: update
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-23 23:55:08 -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
Randy Fay
954a0e7459
docs: fix typo in archive.md (#3189) 2022-06-23 22:40:25 -03:00
Randy Fay
5ae087197b
docs: no-main error if running outside project root 2022-06-23 22:39:48 -03:00
dependabot[bot]
e16a15929e
chore(deps): bump github/codeql-action from 2.1.13 to 2.1.14 (#3186)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.13 to 2.1.14.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d00e8c09a3...41a4ada31b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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-06-23 08:49:48 -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 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 Alexandro Becker
4162772819
feat: allow to load config from stdin (#3175)
allows to load the config from stdin, so things like:

```sh
cat .goreleaser.yml | sed 's/something/else/g' | goreleaser release -f -
```

will now work.

closes #3125

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-22 22:03:00 -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
dependabot[bot]
f1c611b21b
chore(deps): bump github/codeql-action from 2.1.12 to 2.1.13 (#3179) 2022-06-22 08:47:02 -03:00
dependabot[bot]
32f5d5c163
feat(deps): bump github.com/muesli/mango-cobra from 1.1.0 to 1.2.0 (#3181) 2022-06-22 08:46:38 -03:00
dependabot[bot]
ed58817979
feat(deps): bump github.com/google/go-github/v45 from 45.1.0 to 45.2.0 (#3180) 2022-06-22 08:46:22 -03:00