1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-05 00:59:04 +02:00
Commit Graph

39 Commits

Author SHA1 Message Date
264dedc12a chore: added todo for go 1.16 migration 2020-12-03 18:16:45 -03:00
40aa04fe71 fix: dont fail if there is a .go directory (#1899)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-13 13:18:26 +00:00
032a105533 feat: validate goos, goarch, goarm and gomips (#1886)
* feat: validate goos, goarch, goarm and gomips

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

* fix: lint

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-05 07:20:14 +00:00
65ffbf1921 refactor: replace pkg/errors.Wrap with fmt.Errorf (#1812)
* refactor: remove pkg/errors

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

* refactor: remove pkg/errors

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-09-21 17:47:51 +00:00
28230b67f8 fix: do not default goos/goarch/goarm if targets is provided (#1789)
* fix: do not default goos/goarch/goarm if targets is provided

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

* test: fixed

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-06 11:39:52 -03:00
cc3567cde9 feat: Add gobinary option to build configs (#1775)
* Possible implementation of #1235.

Adds the go_binary config option and defualts it to "go".

* Correct docs.
2020-08-30 10:15:33 -03:00
0d4f605388 feat: deterministic / reproducible build support (#1641)
* Make checksum ordering consistent

* Use consistent time for build date

* Add commit date to templates

* Add config option for build mod timestamp

* Make goreleaser builds reproducible

* Fix error in wording

* Update www/docs/customization/build.md
2020-07-06 17:09:22 -03:00
69c8a502db chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0 (#1563)
* chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-26 00:48:10 -03:00
ef19f1610b fix: windows filenames (#1539)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-21 22:08:54 -03:00
705ab90e4f fix: builds.binary template (#1476)
* fix: builds.binary template

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

* fix: revert

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 15:08:06 -03:00
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
3bfb36355e feat: support to gomips (#1288)
* feat: support to gomips

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

* fix: prefix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 14:36:00 -03:00
1943d3147b feat: specify (sub)directory with go code when building (#1273) 2020-01-13 14:23:00 -03:00
1080215876 fix: artifact fields not available to flags (#1118) 2019-08-14 10:07:00 -03:00
b477ffa095 refactor: pointer to artifact (#1110)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-12 17:44:48 -03:00
f6e5c4eed5 fix: ldflags need to be a single string to apply (#1086)
- fixes a case where ldflags are set as array in config yaml, this causes only last one to apply
2019-07-17 17:59:07 -03:00
86c5b93260 feat: improved version command (#1028)
* feat: improved version command

* fix: typo

* test: fixed failing tests
2019-05-27 23:59:33 -03:00
15475c6484 feat: build id (#1008)
* feat: build id

* test: added more tests

* fix: imports
2019-04-14 15:16:01 -03:00
310bf450a8 fix: all envs allowed on build template (#992) 2019-04-09 09:15:05 -03:00
cf4aba68d3 feat: global env and template-able before hooks (#974)
* feat: global env

* docs: hooks templateable, global env

* docs: hooks templateable, global env

* feat: templas on before hooks

* docs: revert unwanted change

* fix: use os.environ too

* chore: travis

* fix: goreleaser.yml
2019-03-03 14:12:22 -03:00
7d7951a223 feat: template on flags (#923) 2019-01-17 10:50:00 -02:00
850205abf1 feat: back-reference build artifacts from archive artifact (#908) 2019-01-01 14:40:17 -02:00
6c349c1759 fix: linter fixes 2018-11-08 09:40:23 -02:00
64b1f14a86 refactor: better code organization (#757)
* refactor: merging archive in the same repo

* refactor: merging archive in the same repo

* refactor: better organizing packages

* refactor: fixing renames

* fix: new dep version

* fix: makefile

* fix: zip/tar tests

* fix: gitigonore

* fix: s3 tests

* fix: archive test
2018-08-14 23:50:20 -03:00
495126ffd9 chore: format and lint fixes 2018-07-09 00:01:06 -07:00
71717947d3 fix: using tmpl in build, git and go builder pkgs 2018-07-08 23:08:06 -07:00
874f53dacb fix: several linter issues 2018-07-04 01:22:45 -07:00
5252f74ade feat: Convert flag fields into lists
This allows users to specify different sets of compiler, assembler,
and/or linker flags for different packages. It also makes it possible to
specify generic flags that contain spaces. It does this while
maintaining compatibility with the old format of the fields in question
by up-converting bare strings into single-element lists.

Resolves #668
2018-05-15 08:12:11 -03:00
46aa41e27e feat: Add asmflags and gcflags fields (#648) 2018-04-20 08:26:04 -03:00
5a0b6c4608 fix: added time func to ldflags template 2018-04-15 20:32:52 -03:00
002d88b514 fix: Catch all stat errors 2018-02-01 13:27:21 +01:00
96a431c6a8 fix: several review suggestions 2018-01-26 21:54:08 -02:00
fc7f33be98 style: renamed Default to WithDefaults 2018-01-26 19:35:12 -02:00
a2d8087661 style: avoid bad abstractions 2018-01-26 19:26:28 -02:00
9416dcc751 refactor: just started fixing tests 2018-01-22 01:10:17 -02:00
4e6982a524 refactor: allow builders to have custom defaults 2018-01-21 23:37:39 -02:00
42a8f0b194 refactor: adios build target 2018-01-21 22:44:06 -02:00
d954f8a6df wip 2018-01-21 18:54:33 -02:00
a457ae6e17 feat: support multiple build systems 2018-01-21 14:31:08 -02:00