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

2850 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
57f7e44556
docs: move bintray to cookbooks
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-21 13:27:32 -03:00
dependabot[bot]
8f89fdf14c
chore(deps): bump codecov/codecov-action from v1.4.0 to v1.4.1 (#2176)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.4.0 to v1.4.1.
- [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.0...967e2b38a85a62bd61be5529ada27ebc109948c2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 09:37:17 -03:00
Carlos Alexandro Becker
f5ee9d12a8
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-19 09:32:45 -03:00
Carlos Alexandro Becker
f61d8c820c
fix: improve output a bit (#2174)
* fix: improve output a bit

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

* fix: improve output a bit

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

* fix: revert unwanted changes

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

* fix: skip err

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

* fix: tests

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

* fix: test

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

* chore: build

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-19 09:31:57 -03:00
Carlos Alexandro Becker
a9efdcab4a
fix: handle build.main being a go file when using gomod.proxy (#2173)
* fix: handle build.main being a go file when using gomod.proxy

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

* fix: guess pkg

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-19 11:54:55 +00:00
dependabot[bot]
271bd5a635
chore(deps): bump codecov/codecov-action from v1.3.2 to v1.4.0 (#2175)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.3.2 to v1.4.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.3.2...0e28ff86a50029a44d10df6ed4c308711925a6a8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 08:24:19 -03:00
Tom Payne
e4e242f573
fix: ignore non-arm64/386 builds when building Scoop manifest (#2172) 2021-04-18 18:40:23 +00:00
dependabot[bot]
77101bea42
chore(deps): bump github.com/goreleaser/nfpm/v2 from 2.3.1 to 2.4.0 (#2170)
Bumps [github.com/goreleaser/nfpm/v2](https://github.com/goreleaser/nfpm) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/goreleaser/nfpm/releases)
- [Changelog](https://github.com/goreleaser/nfpm/blob/master/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/nfpm/compare/v2.3.1...v2.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-16 09:50:21 -03:00
dependabot[bot]
df1ea4851a
chore(deps): bump actions/cache from v2.1.4 to v2.1.5 (#2166)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 09:39:31 -03:00
Marc Auberer
30765a4511
docs: tune performance and theming of documentation (#2164)
* docs: tune performance and theming of documentation

* docs: enable auto-toggle based on user preference
2021-04-09 11:34:39 -03:00
dependabot[bot]
cf38e457d7
chore(deps): bump codecov/codecov-action from v1.3.1 to v1.3.2 (#2158)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.3.1 to v1.3.2.
- [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.3.1...9b0b9bbe2c64e9ed41413180dd7398450dfeee14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 09:27:50 -03:00
Carlos Alexandro Becker
41356ea84d docs: improve go mod proxy docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 11:43:17 -03:00
dependabot[bot]
324580c3d0
chore(deps): bump golangci/golangci-lint-action from v2 to v2.5.2 (#2156)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2 to v2.5.2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 08:34:50 -03:00
Carlos Alexandro Becker
50117da6b5 fix: not using go mods on go 1.15
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-03 16:48:11 -03:00
Carlos Alexandro Becker
f6b1d1563a
fix: checksum header (#2154)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-01 09:03:11 -03:00
Carlos Alexandro Becker
6916e05f15 docs: clarify changelog sort
closes #2010

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-01 08:50:29 -03:00
Carlos Alexandro Becker
8306b946d3
feat: initial proxy build support (#2129)
* feat: allow to use ModulePath on templates

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

* feat: initial proxy build support

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

* fix: build

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

* fix: main check

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

* fix: make it more flexible

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

* fix: small improvements

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

* fix: copy go.sum

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

* fix: root mod proxy

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

* fix: test

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

* fix: snapshots

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

* fix: lint

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

* fix: proxy main pkg

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

* fix: environment variables

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

* test: added some tests to go mod proxy feature

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

* fix: improve test

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

* fix: linte

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

* fix: goreleaser.yml

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

* fix: simplify tests

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

* test: test build

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

* fix: revert unwanted changes

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

* fix: allow to run when no mod.suym

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

* docs: example

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

* fix: not a go module on go 1.15

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

* docs: improve docs as per comments

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-30 21:06:25 -03:00
Carlos Alexandro Becker
90f2ba6925 fix: not a go module on go 1.15
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-30 20:07:58 -03:00
Carlos Alexandro Becker
008bd866a9 chore(deps): update go-gitlab to v0.48.0
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-30 11:08:53 -03:00
Diep Pham
b291f946d2
fix: update go-gitlab to fix upload file issue (#2145)
Gitlab.com has some changed (bug?) recently that returns 500 internal server error if the filename contains "/".
Update go-gitlab dependency to get the workaround from upstream: https://github.com/xanzy/go-gitlab/pull/1113.
2021-03-29 08:23:45 -03:00
Carlos Alexandro Becker
aae0d53ac6
fix: build windows/arm (#2144)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-28 12:18:40 -03:00
Carlos Alexandro Becker
00bf745534 docs: improve warning
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-24 23:26:14 -03:00
Carlos Alexandro Becker
be4049e6d8 fix: move shallow clone error to warning
refs #2141 #2134

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-24 23:17:40 -03:00
Carlos Alexandro Becker
d04a7dad19
feat: fail on shallow clone (#2135)
* feat: fail on shallow clone

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-24 08:55:13 -03:00
Carlos Alexandro Becker
9c66827d94 fix: check main error message
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-23 15:52:11 -03:00
leonwright
291e497cbc
docs: added documentation for post_install step in homebrew section (#2138) 2021-03-23 11:50:12 -03:00
Carlos Alexandro Becker
cb77d654a0 docs: install options
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-23 09:46:11 -03:00
Carlos Alexandro Becker
64ca73637a fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-23 09:29:06 -03:00
dependabot[bot]
b35c092cb4
chore(deps): bump code.gitea.io/sdk/gitea from 0.13.2 to 0.14.0 (#2136)
Bumps code.gitea.io/sdk/gitea from 0.13.2 to 0.14.0.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 12:28:30 +00:00
Carlos Alexandro Becker
251e4486ed
fix: wrong docker manifest on latest (#2130)
* fix: wrong docker manifest on latest

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

* fix: do not fail on missing manifest

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

* fix: simplify code a bit

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

* test: existing manifest

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 23:26:26 -03:00
Carlos Alexandro Becker
7378edc708
feat: allow to use ModulePath on templates (#2128)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 08:55:01 -03:00
Carlos Alexandro Becker
a62c6792e0 docs: link to personal access token docs
closes https://github.com/goreleaser/goreleaser/issues/2026

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 08:52:26 -03:00
Carlos Alexandro Becker
740ab6f2bd fix: remove replace
closes #2080

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-22 08:45:18 -03:00
Carlos Alexandro Becker
9f8750dcd2
fix: default gomips (#2124)
* fix: default gomips

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-20 15:17:19 -03:00