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

3328 Commits

Author SHA1 Message Date
Engin Diri
b6a46737c0
docs: add USERS.md to track users of goreleaser (#2613)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-10-29 17:52:27 -03:00
Carlos A Becker
c9c285583c
docs: fix jsonschema links 2021-10-29 14:03:29 -03:00
Carlos A Becker
809a6da0f0
chore: go mod tidy 2021-10-29 14:02:33 -03:00
Carlos A Becker
679ed3b7c9
docs: improve universal binaries docs
closes #2579
2021-10-26 23:10:49 -03:00
Carlos A Becker
299d9bc273
docs: fix contributing link 2021-10-26 23:10:09 -03:00
Carlos A Becker
48d774970c
fix: add debug log for changelog file load
refs #2601
2021-10-26 23:05:25 -03:00
Carlos A Becker
5de2a8bb86
fix: goreleaser should conflict with goreleaser-pro 2021-10-26 23:04:59 -03:00
Carlos Alexandro Becker
cca001b70b
docs: new art (#2607) 2021-10-26 22:41:33 -03:00
Carlos A Becker
163afac53c
docs: update with jsonschema 2021-10-26 15:15:26 -03:00
Patrick Hahn
e5a9e18050
feat(schema): add command that generates jsonschema (#2589)
* feat(schema): Add command that generates the jsonschema for .goreleaser.yml files

This commit adds the jsonschema/schema subcommand that generates a jsonschema doc based on the Project go struct.
For the config types that alternatively allow you to specify a string via custom UnmarshalYAML function, this commit adds the JSONSchemaType function, so the type gets documented with an oneOf with string or itself.
Add yaml key names for properties that are currently missing them, so alecthomas/jsonschema generates the keys with correct casing.

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: Add linguist-generated attribute to generated schema json to exclude this file from pull request size validation

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* fix: run gofumpt

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>

* chore(schema): update alecthomas/jsonschema and regenerate schema.json

Signed-off-by: Patrick Hahn <patricksilashahn@gmx.net>
2021-10-26 15:02:03 -03:00
Carlos A Becker
6d18600d73
chore: create mailmap 2021-10-26 14:54:34 -03:00
Carlos A Becker
6d8d21524d
chore: create mailmap 2021-10-26 14:54:05 -03:00
Engin Diri
9fd61fb956
fix: goFish check for same OS/Arch is unnecessary (#2604)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
2021-10-25 21:42:28 -03:00
Drew Stinnett
d4e575dd47
test: additional tests for gitlab and others (#2599)
* More checks

* test: Adding more tests around gitlab

* chore: removing log
2021-10-25 10:29:19 -03:00
dependabot[bot]
69f8927970
feat(deps): bump sigstore/cosign-installer from 1.2.0 to 1.2.1 (#2602)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v1.2.0...v1.2.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>
2021-10-25 10:16:02 -03:00
Carlos Alexandro Becker
be6199f081
test: allow to locally skip some tests on missing tools (#2594)
* test: allow to locally skip some tests on missing tools

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: ci tests

* fix: helper
2021-10-20 21:56:27 -03:00
Mark Cornick
ba9b75a095
fix(brew): remove deprecated bottle :unneeded (#2591)
* fix(brew): Remove deprecated `bottle :unneeded`

Fixes this warning from Homebrew:
`Warning: Calling bottle :unneeded is deprecated! There is no replacement.`

* fix(brew): fix regression that added newlines to formula
2021-10-19 17:28:23 -03:00
Carlos Alexandro Becker
a2ff2b8dda
feat(brew): multi-arch brew on binary archives (#2590)
* feat(brew): multi-arch brew on binary archives

also fixes brew taps when archives have different binaries in each platform (e.g. some binary is only on the linux archives for some reason)

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* Update internal/pipe/brew/template.go

Co-authored-by: Radek Simko <radek.simko@gmail.com>

* fix: spacing

Co-authored-by: Radek Simko <radek.simko@gmail.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

Co-authored-by: Radek Simko <radek.simko@gmail.com>
2021-10-18 09:31:20 -03:00
Carlos A Becker
5a67707f7a
docs: fix broken link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-17 15:13:52 -03:00
Carlos Alexandro Becker
c99071eb9e
feat(homebrew): support binary releases (#2576)
* feat(homebrew): support binary releases

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improve code

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improve code a bit

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fix archive testts

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-16 23:52:01 -03:00
Carlos Alexandro Becker
f4cef96055
feat(gofish): support binary releases (#2577)
* feat(gofish): support binary releases

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improve code

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-16 23:20:14 -03:00
Carlos Alexandro Becker
cbb567ca74
fix(archive): add extra fields to the archives (#2578)
* fix(archive): binary format should have the full binary name

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: added an extra field

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-16 23:03:06 -03:00
Carlos Alexandro Becker
df2f00fc8b
refactor: put common extra keys in the artifact package (#2580)
* refactor: put common extra keys in the artifact package

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* refactor: common extra fields have their own funcs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* refactor: 2 more

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: review

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-16 22:46:11 -03:00
Pedro López Mareque
160d97af40
fix: check if builds.dir is a directory (#2587)
* fix: validate builds.main

* fix: pr comments
2021-10-16 21:42:53 -03:00
Carlos A Becker
870dc146fa
fix: universal binary should be in dist/$x_darwin_all dir
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-14 22:33:52 -03:00
Carlos A Becker
df62853c0d
docs: add azurepipelines to docs index
refs #2582

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-14 09:43:03 -03:00
Tobias Brumhard
a11156c6f4
docs: add Azure Pipelines CI example (#2582)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-14 09:41:58 -03:00
Carlos Alexandro Becker
ae6814466e
feat(deps): upgrade go-github (#2581)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-14 09:32:52 -03:00
Carlos A Becker
b5aefe6571
fix: improve logging
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 22:34:55 -03:00
Carlos A Becker
58b99b11db
docs: deprecate godownloader and goinstall
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 21:25:55 -03:00
Carlos A Becker
7ddcfb0846
docs: remove shell script
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 21:12:18 -03:00
Carlos A Becker
7d6c4c95a3
docs: fix macOS wording
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 19:58:27 -03:00
Carlos A Becker
d5638991c8
fix: gofish with multiple binaries
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 00:10:07 -03:00
Carlos A Becker
d6724cf624
fix: gofish on windows
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 00:04:49 -03:00
Carlos A Becker
3e003ac82a
docs: fix coc
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:30:28 -03:00
Carlos A Becker
0ccc79f099
chore(ci): fix docs action
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:29:14 -03:00
Carlos A Becker
d097f474ac
chore(ci): dependabot config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:18:56 -03:00
Carlos A Becker
9d87554ef3
chore(ci): use repo-token
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 20:14:15 -03:00
Carlos A Becker
82954c726f
docs: use .DOCKER to build
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 16:51:24 -03:00
Carlos A Becker
139bdd07ea
fix: copy symlinks
closes #2496

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 15:03:46 -03:00
Carlos Alexandro Becker
3c98e86620
feat: create macOS Universal binaries (#2572)
* feat: artifacts.Remove

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: fatbinary

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: run fatbinary on pipeline

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: make archives work with fat binaries

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: make brew work with fat binaries

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat: make gofish work with fat binaries

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: archive binary fatbin

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* docs: fat binaries

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* test: fix on linux

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* feat(ci): enable fat bins on goreleaser itself

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* refactor: rename to universal binaries

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: config

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: rename prop

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 14:55:43 -03:00
Erik Weber
33d857e347
feat: add template support for homebrew skip_upload (#2562) 2021-10-10 14:46:52 -03:00
Carlos A Becker
0aae8d7815
docs: task
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 11:24:55 -03:00
Carlos A Becker
7f9bd343b1
docs: task
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 11:23:33 -03:00
Carlos A Becker
bf95432c53
docs: contributing in sync
closes #2565

Co-authored-by: Nate <37554478+servusdei2018@users.noreply.github.com>
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 11:17:34 -03:00
Carlos A Becker
398c9e6b3c
docs: contributing
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 11:17:34 -03:00
Carlos A Becker
20ac37aa4b
docs: contributing
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 11:17:34 -03:00
Drew Stinnett
03b6805715
feat: Adding gitlab api changelog (#2567)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-10 10:52:46 -03:00
Carlos Alexandro Becker
a393262eb4
feat: support multiple binaries on gofish (#2569)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 10:52:25 -03:00
Carlos A Becker
b11f4e5204
test: fix test
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 10:24:20 -03:00