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

2326 Commits

Author SHA1 Message Date
Radek Simko
5027d4bdfe
test: Allow tests to run in parallel without failing (#1429)
All tests share the same environment (hence variable namespace too)
and setting & reading the same variables has lead to race conditions
which are being fixed by using different variables in each test.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-04-12 11:16:05 -03:00
Radek Simko
cfa0cc2d2a
feat(pipe/build): Report hook error in addition to stdout (#1430)
This helps in situations where hook couldn't run at all,
e.g. because of insufficient permissions.

Previously such failure would only be reported as
empty stdout/stderr output - this allows exposure
of the real root cause.
2020-04-12 10:44:12 -03:00
Carlos Alexandro Becker
e580a18382
fix: brew no token (#1434)
* fix: remove useless log

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

* fix: brew no token

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

* fix: add a warn

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 10:43:33 -03:00
Carlos Alexandro Becker
3f4afc522a
chore: delete derek
not being used anymore
2020-04-09 11:06:01 -03:00
Carlos Alexandro Becker
5e8882fbb6
feat: split brew tap in 2 steps (#1425)
* feat: split brew tap in 2 steps

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

* refactor: improve env

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

* fix: loop

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-09 13:28:58 +00:00
Lukas Spieß
88213a50fc
docs: Use "brews" plural form in documentation (#1423) 2020-04-05 00:02:06 +00:00
matthiasng
dec22cf0c8
fix: scoop binary names (#1420) 2020-04-02 21:59:01 +00:00
Leonardo Grasso
1cf9100ecc
feat: build.skip option, support for library projects (#1419)
* fix: checksum pipe will not return an error when artifact list is empty

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* new: build.skip option for libraries

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* docs: update doc with build.skip option

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
2020-04-02 13:18:05 +00:00
John Taylor
e2ef52032b
feat: use maximum compression for gzip and zip archives (#1416)
* feat: use maximum compression for gzip and zip archives

* fix: add comment for skipping error check

Co-authored-by: John Taylor <ec2-user@ip-172-31-29-117.ap-south-1.compute.internal>
2020-04-01 19:05:20 +00:00
Carlos Alexandro Becker
375109acd7
fix: improve code a bit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:34:06 -03:00
Carlos Alexandro Becker
7661587a9e
fix: do not wrap err if its nil
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:30:16 -03:00
Carlos Alexandro Becker
cca25688d0
refactor: simplify retries (#1407)
* fix: simplify retries

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

* fix: simplify retries

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

* fix: simplify retries

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

* chore: syntax

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:16:37 -03:00
6543
6459cfc0ac
chore(deps): bump code.gitea.io/sdk/gitea from 0.11.0 to 0.11.2 (#1412)
* go get -u code.gitea.io/sdk/gitea

* go mod tidy && go mod vendor

* vendor not included anymore
2020-03-31 10:14:02 -03:00
Carlos Alexandro Becker
c26c3eb6f1
chore: automerge bot config 2020-03-31 10:04:55 -03:00
Yoan Blanc
06fa65fce5
docs: a name key is required (#1406)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-30 13:21:32 -03:00
Carlos Alexandro Becker
fa608c302e
fix: build.binary and artifact.extra.binary (#1399)
* fix: build.binary and artifact.extra.id

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

* fix: scoop usage of extra[binary]

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

* fix: unlock
2020-03-28 15:40:16 -03:00
dependabot-preview[bot]
93d134bda8
chore(deps): bump github.com/imdario/mergo from 0.3.8 to 0.3.9 (#1401)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.8...v0.3.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 12:11:30 +03:00
dependabot-preview[bot]
7869bfafca
chore(deps): bump github.com/xanzy/go-gitlab from 0.28.0 to 0.29.0 (#1400)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.28.0...v0.29.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-24 09:44:58 -03:00
Carlos Alexandro Becker
0736162d5e
fix: do not retry upload if file already exists (#1390)
* fix: do not retry upload if file already exists

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

* fix: logs

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

* fix: gitea client

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

* fix: godocs

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 17:03:31 -03:00
Carlos Alexandro Becker
6519be8dfb
test: added back removed case
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:32:08 -03:00
Carlos Alexandro Becker
0126a1f32b
feat: remove deprecated blob and sign (#1397)
* feat: remove deprecated blob and sign

you should now use blobs and signs instead.

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:26:22 -03:00
Carlos Alexandro Becker
22c9e04efd
feat: allow to use Release and Epoch on nfpm name template (#1396)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 13:54:47 -03:00
dependabot-preview[bot]
c65875fc76
chore(deps): bump github.com/jarcoal/httpmock from 1.0.4 to 1.0.5 (#1394)
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/jarcoal/httpmock/releases)
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.0.4...v1.0.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 11:17:14 +03:00
Carlos Alexandro Becker
278e17c502
docs: point to discussions
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:57:12 -03:00
Carlos Alexandro Becker
8447ef2737
chore: issue template config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:50:48 -03:00
Carlos Alexandro Becker
c0a880f8a5
chore: issue template config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:50:02 -03:00
Carlos Alexandro Becker
529cfca87d
chore: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 09:12:55 -03:00
dependabot-preview[bot]
499d42033d
chore(deps): bump github.com/goreleaser/nfpm from 1.2.0 to 1.2.1 (#1392)
Bumps [github.com/goreleaser/nfpm](https://github.com/goreleaser/nfpm) from 1.2.0 to 1.2.1.
- [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/v1.2.0...v1.2.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 11:51:52 +03:00
Carlos Alexandro Becker
bc64da18ab
fix: default evn tokenfiles (#1389)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 12:10:56 -03:00
Carlos Alexandro Becker
f18a5d1fee
docs: snapshot fix
closes #1388

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 11:40:17 -03:00
dependabot-preview[bot]
2cf7b40f3c
chore(deps): bump github.com/goreleaser/nfpm from 1.1.10 to 1.2.0 (#1386)
Bumps [github.com/goreleaser/nfpm](https://github.com/goreleaser/nfpm) from 1.1.10 to 1.2.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/v1.1.10...v1.2.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 10:18:08 +03:00
dependabot-preview[bot]
a6cfe04ce1
chore(deps): bump github.com/xanzy/go-gitlab from 0.27.0 to 0.28.0 (#1381)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.27.0...v0.28.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-06 10:43:30 -03:00
Carlos Alexandro Becker
81417ea989
feat: improve output a bit (#1380)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-06 01:25:09 -03:00
Carlos Alexandro Becker
5efb690d1c
fix: fail if cant guess project name (#1378)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:03:05 -03:00
Carlos Alexandro Becker
9ba04398a2
feat: support freebsd/arm64 and openbsd/arm64 (#1377)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:01:57 -03:00
Carlos Alexandro Becker
70c9e291ce
fix: http.target template (#1371)
* fix: http.target template

refs #1357

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

* fix: remove unused struct

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

* fix: test

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:45:05 -03:00
Carlos Alexandro Becker
02042937ec
feat: upgrade to go 1.14 (#1372)
* feat: upgrade to go 1.14

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>

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:24:51 -03:00
Carlos Alexandro Becker
2e69fa0667
fix: snapcraft: do not push when skip publish (#1374)
* fix: snapcraft: do not publish when skip publish

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

* fix: snapcraft: do not publish when skip publish

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:14:40 -03:00
Carlos Alexandro Becker
969fb4b804
feat: templateable archive.files (#1373)
* feat: support variable substitution in archive.files

* Update internal/pipe/archive/archive.go

* feat: templateable archive.files

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

* docs: templateable archive.files

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

Co-authored-by: Robbie Ostrow <ostrowr@users.noreply.github.com>
2020-03-04 00:52:43 -03:00
Craig Furman
139d13cc57
docs: Improve GitLab CI (#1369)
Fix typos that referenced GitHub.

Move config to job level. Users can extract elements to global config if
necessary, but since the snippet has no other jobs the use of global
config added confusion.

Disable shallow clones to fix changelogs.

Update use of GitLab image registry to use the USER/PASSWORD vars and
clarify that they are automatically set on jobs running on GitLab
instances with the image registry enabled.

Document use of `only` to not release every commit (optionally).

Format nested docker goreleaser command multi-line.

Document purpose of GITLAB_TOKEN.
2020-03-03 23:55:13 -03:00
dependabot-preview[bot]
e33b885108
chore(deps): bump github.com/xanzy/go-gitlab from 0.26.0 to 0.27.0 (#1368)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.26.0...v0.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 12:16:59 +03:00
Carlos Alexandro Becker
ad94dbc64d
fix: nfpm id
refs #1357

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-27 09:45:12 -03:00
Craig Furman
61fb8f50cc
fix: infer project name from GitLab/Gitea release (#1364) 2020-02-26 09:38:07 -03:00
dotwoo
d03c0aa0be
feat(nfpm): add nfpm release config (#1363)
add config.NFPM.Release  to set  nfpm release
2020-02-26 08:59:52 -03:00
dependabot-preview[bot]
57be451ff2
chore(deps): bump github.com/kamilsk/retry/v4 from 4.7.1 to 4.7.2 (#1360)
Bumps [github.com/kamilsk/retry/v4](https://github.com/kamilsk/retry) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/kamilsk/retry/releases)
- [Commits](https://github.com/kamilsk/retry/compare/v4.7.1...v4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 12:06:26 +03:00
dependabot-preview[bot]
6edd241366
chore(deps): bump github.com/kamilsk/retry/v4 from 4.5.0 to 4.7.1 (#1358)
Bumps [github.com/kamilsk/retry/v4](https://github.com/kamilsk/retry) from 4.5.0 to 4.7.1.
- [Release notes](https://github.com/kamilsk/retry/releases)
- [Commits](https://github.com/kamilsk/retry/compare/v4.5.0...v4.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:22:50 +03:00
Ted Wexler
4a4e947f8d
docs: clarify usage of --snapshot in quick start docs (#1356) 2020-02-20 15:39:42 -03:00
dependabot-preview[bot]
3376311241
chore(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1 (#1355)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 10:33:16 +03:00
Carlos Alexandro Becker
33d39188fa
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-19 10:22:19 -03:00
Carlos Alexandro Becker
147af1653c
fix: loose go mod a bit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-19 10:21:44 -03:00