1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

4008 Commits

Author SHA1 Message Date
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
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
cb70fa5181
feat: log duration of slow pipes (#3173)
* feat: log duration of slow pipes

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

* fix: do not use colors pkg

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-22 00:09:11 -03:00
Carlos Alexandro Becker
c51b0f9847
fix(ci): gitleaks license (#3177)
* fix(ci): gitleaks license

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

* fix: gitleaks config path

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-22 00:08:51 -03:00
Carlos A Becker
3566ba619d
docs: update docs
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-21 22:34:32 -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
dependabot[bot]
dd66aac903
feat(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#3170)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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-21 09:29:43 -03:00
dependabot[bot]
3df1f27c38
feat(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#3171)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)

---
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-21 09:00:48 -03:00
actions-user
7b5c6d9b3d chore: docs auto-update 2022-06-20 23:49:17 +00:00
Jason Liu
2d9dd26ef5
docs: adds Koordinator to USERS.md (#3167) 2022-06-20 20:47:59 -03:00
dependabot[bot]
891e50e6a4
chore(deps): bump actions/dependency-review-action from 1 to 2 (#3164)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/dependency-review-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-06-16 08:55:20 -03:00
dependabot[bot]
d8c73c85e5
feat(deps): bump github.com/caarlos0/ctrlc from 1.0.0 to 1.1.0 (#3165)
Bumps [github.com/caarlos0/ctrlc](https://github.com/caarlos0/ctrlc) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/caarlos0/ctrlc/releases)
- [Changelog](https://github.com/caarlos0/ctrlc/blob/main/.goreleaser.yml)
- [Commits](https://github.com/caarlos0/ctrlc/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/caarlos0/ctrlc
  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-16 08:54:54 -03:00