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

2911 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
3ca9e6d4dc
feat(nfpm): allow to template contents.dst (#2269)
* feat(nfpm): allow to template contents.dst

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

* fix: revert unwanted change

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

* fix: gofumpt

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 00:28:11 -03:00
Carlos A Becker
d3bc4fe2c5
docs: better env docs
closes #1795

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 01:53:57 +00:00
Carlos A Becker
ce7d3b0e89
test: default values for envs
refs #1795

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 01:53:40 +00:00
Carlos A Becker
64c73d7eba
fix(gitea): do not overwrite existing release notes
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-31 01:25:29 +00:00
Carlos Alexandro Becker
4d0c0d2072
feat: release header/footer (#2267)
* feat: release header/footer

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

* feat: release header/footer

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

* refactor: using the golden library all over

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

* fix: lint

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

* fix: brew arm tests

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

* fix: use footer

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-30 21:53:40 -03:00
Carlos A Becker
68f23cfc16
docs: sync with pro
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-30 18:00:35 +00:00
Carlos Alexandro Becker
e2c93f5f39
fix: improve brew formula (#2261)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-30 14:25:25 -03:00
Carlos A Becker
b030cfdced
docs: dark mode better colors
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 17:54:34 +00:00
Carlos Alexandro Becker
8bce27606b
docs: hooks 2021-05-27 14:47:38 -03:00
Carlos Alexandro Becker
89d5692afe
docs: improve hooks page
refs https://github.com/goreleaser/goreleaser/issues/2264
2021-05-27 14:46:59 -03:00
Carlos Alexandro Becker
f1ccd8398e
fix(ci): brew dependencies (#2263)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 17:33:33 +00:00
Carlos A Becker
13dcb78bef
docs: typos
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:53:26 +00:00
Carlos A Becker
5e933a2dab
docs: typos
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:52:35 +00:00
Carlos A Becker
057e373a9d
docs: fix og image
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:50:24 +00:00
Carlos A Becker
d6c9cfae31
docs: fix link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-27 11:45:52 +00:00
Carlos A Becker
f2d0c61d7c
docs: update releases script
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-26 22:23:52 +00:00
Carlos Alexandro Becker
690b49b9fc
docs: goreleaser-pro (#2260) 2021-05-26 19:08:46 -03:00
Carlos A Becker
3843761902
fix(snap): do not fail with "NEEDS REVIEW" message
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-26 14:39:11 +00:00
Carlos Alexandro Becker
046c60d20d
chore(ci): fix discussion category name 2021-05-26 00:16:56 -03:00
Carlos A Becker
9a3a5f6642
docs: plausible
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-26 02:09:07 +00:00
Carlos Alexandro Becker
2e376ef378
chore(lint): enable revive
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-05-25 16:49:49 -03:00
dependabot[bot]
13ceb87dfb
chore(deps): bump github.com/fatih/color from 1.11.0 to 1.12.0 (#2251)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.11.0...v1.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 09:36:47 -03:00
Carlos A Becker
25816eefe9
docs: fix msg template
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-25 04:10:14 +00:00
Carlos A Becker
70f18f20e8
fix(ci): twitter env
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-25 04:09:58 +00:00
Carlos Alexandro Becker
a2d7ccad2f
feat: --skip-announce (#2249) 2021-05-25 00:45:59 -03:00
Carlos A Becker
a5ae82ae95
chore(ci): enable announcing to twitter
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-25 03:21:09 +00:00
Carlos Alexandro Becker
f0f7f43486
feat: announce to twitter (#2248)
Co-authored-by: Leon Wright <wrightleo@jncb.com>
2021-05-25 00:19:06 -03:00
Carlos Alexandro Becker
9fbaf5e3e1
feat: env template support (#2246) 2021-05-24 23:23:59 -03:00
Evan Older
d521343b06
feat: Scoop pipe - Write the manifest before skips, like Brew pipe. (#2241)
* feat: Scoop pipe - Write the manifest before skips, like Brew pipe.

feat: Scoop pipe - Added tests and fixed the write path of the manifest.

* Update scoop.go

Co-authored-by: eolder <eolder@rajant.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-24 17:30:31 +00:00
Carlos Alexandro Becker
9913fe7db6
feat: template release notes (#2242)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-21 21:07:47 -03:00
Carlos Alexandro Becker
2d136c4c90
feat: allow to template signs[].signature (#2236) 2021-05-21 14:49:07 -03:00
Carlos Alexandro Becker
7cfa2c4777
feat: fine grained sign (#2235) 2021-05-21 11:16:15 -03:00
Carlos A Becker
00b76540ca
fix(snap): ignore human review error msg
closes #2194

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-21 02:53:22 +00:00
Carlos Alexandro Becker
d08b767975
fix: revert "fix: skip releasing to brew when skipping publishing" (#2233)
This reverts commit c85472a20f.
2021-05-20 23:24:44 -03:00
CrazyMax
c91099c5f9
fix(ci): use official login action and switch to github secret for ghcr (#2210)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-20 23:07:48 -03:00
Carlos Alexandro Becker
3a45a9182e
feat: check -q (#2232)
* feat: check -q

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

* docs: cmd docs

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-05-20 22:47:32 -03:00
Carlos Alexandro Becker
e5e7950986
chore: update pr template 2021-05-20 14:26:47 -03:00
Marc Auberer
8db935ff15
feat: add support for name templates to NFPM contents (#2229) 2021-05-20 14:21:48 -03:00
sixg0000d
46f452ecbe
docs: fix config field (#2228) 2021-05-19 09:14:50 -03:00
Matt Palmer
bf4359017b
feat: Use GitLab Direct Asset Links (#2219)
* feat: Use GitLab Direct Asset Links

Implement the use of Direct Asset Links when uploading artifacts to a GitLab release

* fix: Remove ArtifactUploadHash

As GitLab support for direct asset linking exists, remove ArtifactUploadHash due to it no longer being required

* test: fix unit tests for gitlab urls

* fix: Use artifact name during GitLab upload

file.Name() included the path to the file, which isn't needed and breaks other areas such as homebrew releases

* docs: Require GitLab version v12.9+

Due to newly introduced dependency on direct asset linking
2021-05-17 17:33:04 +00:00
dependabot[bot]
513503644e
chore(deps): bump gocloud.dev from 0.22.0 to 0.23.0 (#2225)
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.22.0...v0.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 12:03:45 +00:00
dependabot[bot]
25a372c091
chore(deps): bump github.com/fatih/color from 1.10.0 to 1.11.0 (#2221)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.10.0...v1.11.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-14 13:08:45 +00:00
dependabot[bot]
3983728985
chore(deps): bump github.com/xanzy/go-gitlab from 0.49.0 to 0.50.0 (#2220)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.49.0 to 0.50.0.
- [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.49.0...v0.50.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 10:01:16 -03:00
CrazyMax
a662cb0830
fix(ci): pin actions to major (#2217)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-12 15:23:13 -03:00
dependabot[bot]
b8659c1ef6
chore(deps): bump docker/setup-qemu-action from 1 to 1.1.0 (#2211)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 1.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-12 13:40:08 +00:00
dependabot[bot]
a754fb3f5f
chore(deps): bump reviewdog/action-misspell from 1 to 1.7.1 (#2212)
Bumps [reviewdog/action-misspell](https://github.com/reviewdog/action-misspell) from 1 to 1.7.1.
- [Release notes](https://github.com/reviewdog/action-misspell/releases)
- [Commits](https://github.com/reviewdog/action-misspell/compare/v1...v1.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 13:32:09 +00:00
dependabot[bot]
2269ff65ed
chore(deps): bump docker/setup-buildx-action from 1 to 1.3.0 (#2213)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 1.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:13:13 -03:00
dependabot[bot]
ad677680e3
chore(deps): bump dessant/lock-threads from 2 to 2.0.3 (#2214)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 2 to 2.0.3.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v2...v2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:12:58 -03:00
CrazyMax
e8555203d7
chore(ci): remove codecov token (#2209)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-11 17:59:56 -03:00
Kareem March
a9ce8f89d4
fix: allow underscores in formula name (#2205)
* fix: allow underscores in formula name

I was trying to create two formulas per release. One signifying the latest and
another with the version explicitly: formula.rb and formula@v0.0.0.rb

The filenames are fine but the formula name for the explicit version
was created as FormulaATv0.0.0 which isn't valid Ruby.

Looking at the function history I couldn't find why underscores were being replaced
since underscores are valid for Ruby identifiers. I opted to replace dots in a formula with
underscores

- 1399a39603
- https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident

* test: add test for version in formula name

I think underscores are removed to make the Formula name cleaner

* test: re-add old test
2021-05-11 04:50:17 +00:00