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

2884 Commits

Author SHA1 Message Date
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
dependabot[bot]
7ff11a7730
chore(deps): bump github.com/google/go-github/v35 from 35.1.0 to 35.2.0 (#2207)
Bumps [github.com/google/go-github/v35](https://github.com/google/go-github) from 35.1.0 to 35.2.0.
- [Release notes](https://github.com/google/go-github/releases)
- [Commits](https://github.com/google/go-github/compare/v35.1.0...v35.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 09:45:10 -03:00
Sam Mingo
5ea909f6a3
docs: fixes typo in docker.md (#2206) 2021-05-07 09:44:20 -03:00
Sam Mingo
860e3e0cd6
docs: fixed typo (#2202)
Fixes typo in docker tags section
2021-05-05 09:32:57 -03:00
dependabot[bot]
e5310382c2
chore(deps): bump codecov/codecov-action from v1.4.1 to v1.5.0 (#2199)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.4.1 to v1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.4.1...a1ed4b322b4b38cb846afb5a0ebfa17086917d27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 14:45:01 -03:00
dependabot[bot]
166ecca034
chore(deps): bump github.com/goreleaser/nfpm/v2 from 2.5.0 to 2.5.1 (#2200)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 14:44:43 -03:00
dependabot[bot]
093c0d6fde
chore(deps): bump github.com/xanzy/go-gitlab from 0.48.0 to 0.49.0 (#2198)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.48.0 to 0.49.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.48.0...v0.49.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 11:54:53 +00:00
Franky W
c85472a20f
fix: skip releasing to brew when skipping publishing (#2193)
This fixes an issues that causes builds to still try to release to brew
even though the `--skip-publish` flag was passed
2021-05-02 14:37:15 +00:00
Cristian Ciutea
a86a9956de
feat: add %pretrans %posttrans scriptlets (#2191)
* tmp changed nfpm dep to fork

* added rpm pretrans and posttrans scriptlets

* cleanup gomod

* docs: added pretrans and posttrans examples in nfpm.md

* added test for rpm pretrans and posttrans scriptlets
2021-04-28 13:01:03 +00:00
Carlos Alexandro Becker
860b4a8f81
chore: gofumpt & lint (#2190)
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-25 14:20:49 -03:00
Carlos Alexandro Becker
5866b9cb63
refactor: use os and io packages intead of ioutil when possible (#2189) 2021-04-25 13:00:51 -03:00
Carlos Becker
95bef19280 fix: env: close file
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-25 14:41:36 +00:00
Carlos Alexandro Becker
66117f3126
fix: several fd leaks (on tests) (#2187) 2021-04-25 11:34:40 -03:00
Carlos Alexandro Becker
f72e6399da
fix: fd leak on gomod pipe (#2188)
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-25 00:08:58 -03:00
Carlos Becker
48e8d83dad test: make test git init compatible with older git versions
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-25 02:21:54 +00:00
Carlos Becker
4a40c1550d chore: git attributes
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-25 02:02:31 +00:00
Carlos Becker
1a78829698 chore(deps): update to nfpm 2.5.0
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-24 15:04:10 +00:00
Carlos Becker
ad4809d1b3 chore(deps): use latest go-github
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-24 15:03:02 +00:00
Carlos Alexandro Becker
d822baf11f
docs: formatting
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-22 10:58:58 -03:00
Carlos Alexandro Becker
29cb60330b
docs: add cmd docs (#2184)
* docs: add cmd docs

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

* docs: cmd docs

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

* fix: num cpus

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

* docs: improve some things

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

* fix: improve docs

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

* fix: script

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-22 10:45:36 -03:00
Radek Simko
f802d5ead9
docs: document required GitHub Actions token privileges (#2180)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-21 19:45:14 +00:00
Carlos Alexandro Becker
0c2e80ae93
feat: build single target and/or build id (#2179)
* feat: build single target

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

* feat: build single id

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 16:36:53 -03:00
Trenton Broughton
e7f1ec0ea6
Do not send an empty discussion category name (#2182)
If the discussion category name is not specified in the config file, do not send it in to the request

This is a quick fix, and possibly it would be better to make `DiscussionCategoryName` a pointer.
2021-04-21 16:09:27 -03:00
Carlos Alexandro Becker
24d411c6ef
docs: sort items
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:50:28 -03:00
Carlos Alexandro Becker
bc3af3bd1d
chore: create discussion on release
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:46:16 -03:00
Carlos Alexandro Becker
7303dc42c1
Merge remote-tracking branch 'origin/master' 2021-04-21 13:44:07 -03:00
Carlos Alexandro Becker
7a7a6f61ba
feat: create discussions from releases (#2177)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:43:59 -03:00
Carlos Alexandro Becker
e38f4074bb
docs: improve sponsors page
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:43:39 -03:00