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

3799 Commits

Author SHA1 Message Date
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
Carlos A Becker
5713eec15f
docs: clarify action does not install other tools
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-14 15:26:20 -03:00
actions-user
b5f14be757 chore: docs auto-update 2022-06-14 14:16:57 +00: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
dependabot[bot]
f90814a2ae
feat(deps): bump github.com/goreleaser/nfpm/v2 from 2.15.1 to 2.16.0 (#3162)
Bumps [github.com/goreleaser/nfpm/v2](https://github.com/goreleaser/nfpm) from 2.15.1 to 2.16.0.
- [Release notes](https://github.com/goreleaser/nfpm/releases)
- [Changelog](https://github.com/goreleaser/nfpm/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/nfpm/compare/v2.15.1...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/nfpm/v2
  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-14 09:22:21 -03:00
Carlos A Becker
d80f11b98e
chore(ci): update sbom and cosign actions
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-13 14:28:08 -03:00
dependabot[bot]
4859b2876f
feat(deps): bump github.com/slack-go/slack from 0.10.3 to 0.11.0 (#3160)
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.10.3 to 0.11.0.
- [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.3...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  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-13 12:35:05 -03:00
Carlos A Becker
6c10e8eaa6
chore: update schema
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 22:35:36 -03:00
Carlos Alexandro Becker
ad3c6fdcdd
feat: update jsonschema library (#3159)
* feat: update jsonschema library

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

* fix: test

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 22:31:30 -03:00
Carlos Alexandro Becker
0f128690a0
feat: removed deprecated windows arm handling on go 1.16 (#3157)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-12 20:04:19 -03:00