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

763 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
959daeca4d
style: moving Piper interface close to where its used 2018-03-08 18:46:15 -03:00
Carlos Alexandro Becker
c7d3e02ce6
style: moving Defaulter interface close to where its used 2018-03-08 18:36:36 -03:00
Carlos Alexandro Becker
5830759958
fix: project name on brew formula
refs 956eeafdfe
closes #601
2018-03-08 17:16:49 -03:00
Carlos Alexandro Becker
3db9913e1c
feat: --skip-validate is back (#600) 2018-03-08 08:42:33 -03:00
Carlos Alexandro Becker
956eeafdfe
fix: improved PR #597 2018-03-07 19:21:01 -03:00
Erno Aapa
960b23af0c feat: Custom brew tap name (#597)
Add optional Name field to Brew configuration to allow overriding
the name of the final Brew tap recipe.

closes #595
2018-03-07 19:16:38 -03:00
Carlos Alexandro Becker
7cd13c040f
fix: scoop download url (#594)
closes #593
2018-03-05 20:55:02 -03:00
Dominik Nakamura
cc6dd458af feat: Configuration to use short git hashes (#581)
Add a git configuration to control to either use long commit hashes
(current default) or use the short version with only the first 7
characters of the hash.

See #578
2018-03-02 09:20:27 -03:00
Carlos Alexandro Becker
ac7800699f
fix: running goreleaser against repo with no commits (#580)
* fix: running goreleaser against repo with no commits

* test: added more asserts
2018-03-01 20:42:47 -03:00
Carlos Alexandro Becker
7778a49499
feat: --skip-publish is back (#587)
* feat: --skip-publish is back

* style: using previously resolved flag

* test: docker test

* test: main coverage

* test: fixed brew tests
2018-03-01 01:12:58 -03:00
Carlos Alexandro Becker
84e0a2b175
docs: fmt 2018-02-27 10:29:33 -03:00
Carlos Alexandro Becker
76cfa61407
refactor: remove fpm in favor of nfpm (#567)
* refactor: remove fpm

* refactor: remove fpm

* refactor: .travis.yml

* chore: more cleanup

* chore: fix deploy
2018-02-26 18:49:58 -03:00
Carlos Alexandro Becker
2ea883e0c4
* feat: allow snapshots on a folder that is not a git repo (#579)
* feat: allow running against a folder that is not a git repo

* test: cover clean err

* test: release: increase coverage

* test: fix race condition
2018-02-25 20:17:45 -03:00
Carlos Alexandro Becker
fdc032ec15
refactor: unifying snapshot with skip-validate and skip-publish (#575)
* refactor: removed goreleaserlib: moved all to main

* refactor: wip: snapshot

* fix: more pipes

* fix: more pipes

* fix: git tests

* fix: some other validate and publish usages

* fix: git dirty check when snapshoting

* fix: nfpm: use tag instead of version

* test: docker: print docker run output if registry fails
2018-02-24 17:59:08 -03:00
Carlos Alexandro Becker
2bb509f5a8
chore: enabling -race -failfast and -coverpkg (#576)
* chore: enabling -race -failfast and -coverpkg

* fix: race condition in tests
2018-02-24 17:31:07 -03:00
Carlos Alexandro Becker
f2bd64f146
fix: guess git repo from url with custom ssh configs (#573)
* fix: guess git repo from url with custom ssh configs

or github enterprise

* style: removed unnecessary if statement
2018-02-20 18:21:20 -03:00
Carlos Alexandro Becker
b6299472fc
fix: git log without colors (#572) 2018-02-20 14:23:45 -03:00
Carlos Alexandro Becker
d8fe6462d4
feat: nfpm: suggests and recommends (#568)
refs https://github.com/goreleaser/nfpm/pull/5
2018-02-18 19:36:52 -03:00
Carlos Alexandro Becker
4139509f43
feat: nfpm: support config files (#566)
* feat: nfpm: support config files

* bump: nfpm
2018-02-17 19:30:26 -02:00
Carlos Alexandro Becker
ec1ba17102
fix: nfpm multiple binaries in the same archive (#564) 2018-02-17 16:51:18 -02:00
Carlos Alexandro Becker
8c528a90b7
fix: closing targz file (#563) 2018-02-17 14:28:48 -02:00
Carlos Alexandro Becker
0694b46bcc
fix: better deprecation notices (#561)
* fix: better deprecation notices

* test: covered deprecate with tests

* docs: improved docs

* docs: improved docs

* chore: organize imports

* style: code improve
2018-02-17 13:43:29 -02:00
Carlos Alexandro Becker
42427782ac
feat: nfpm support (#543)
* feat: nfpm support

* fix: rpm

* fix: rpm: bindir

* fix: nfpm tests and coverage

* chore: fixed nfpm version

* chore: deliver goreleaser itself with nfpm

* fix: add nfpm to the pipeline

* chore: bump nfpm

* bump: nfpm

* docs: nfpm and deprecation notices

* chore: nfpm v0.3.1
2018-02-17 12:16:06 -02:00
Carlos Alexandro Becker
1a90afcf5f
chore: compile with go1.10 (#560)
* chore: compile with go1.10

* chore: fix?

* chore: fix ci, maybe?

* chore: fix ci, maybe?

* test: fixed broken test
2018-02-17 10:50:54 -02:00
Carlos Alexandro Becker
66338de1bb style: removed elses, improved test code 2018-02-16 15:03:37 -02:00
Edward Wilde
eef2647570 feat: Adds template support to binary property (#544)
I added support for using the Go template engine with the binary
property. This is needed for generating binaries that include
the current version number in their file name. For example
`terraform-provider-NAME_vX.Y.Z`.
2018-02-15 09:30:15 -02:00
Carlos Alexandro Becker
efd1588119 test: improve scoop tests 2018-02-15 00:49:24 -02:00
Carlos Alexandro Becker
851fd76a5e chore: improving scoop code a bit 2018-02-15 00:49:24 -02:00
Carlos Alexandro Becker
1376f9e226 fix: wrong rebase 2018-02-15 00:34:12 -02:00
Carlos Alexandro Becker
9dfb8547d4 fix: global default for github download url 2018-02-15 00:34:12 -02:00
Carlos Alexandro Becker
28ad35848f chore: added a todo to further improve other tests 2018-02-14 11:25:28 -02:00
Carlos Alexandro Becker
e0bdbd4e45 fix: upload linux artifacts to artifactory 2018-02-14 11:25:28 -02:00
Carlos Alexandro Becker
db929deb45 test: fixed difference between linux and mac errors 2018-02-14 11:25:28 -02:00
Carlos Alexandro Becker
ba58ba05ab test: make test fail when either archive is not uploaded 2018-02-14 11:25:28 -02:00
Carlos Alexandro Becker
79c8e05738 fix: keeping the same naming as other pipes 2018-02-13 14:24:12 -02:00
Carlos Alexandro Becker
8cf855f447 fix: do not print ctx in docker pipe when on debug 2018-02-13 14:24:12 -02:00
Carlos Alexandro Becker
e4048c2456 feat: expand env on build envs 2018-02-12 21:05:35 -02:00
Southclaws
3580062fd3 add: two more test cases 2018-02-12 18:36:48 -02:00
Southclaws
b914f08301 add: TODO comment 2018-02-12 18:36:48 -02:00
Southclaws
ec5eb2ccaa add: More Scoop tests for error coverage 2018-02-12 18:36:48 -02:00
Southclaws
a02c221adb add: Scoop doRun tests 2018-02-12 18:36:48 -02:00
Southclaws
12501bdfff add: more scoop unit tests 2018-02-12 18:36:48 -02:00
Southclaws
98433ca412 fix: removed unused functions 2018-02-12 18:36:48 -02:00
Southclaws
45bb3a0a7f add: Unit tests for scoop 2018-02-12 18:36:48 -02:00
Southclaws
c8d36813cb add: Scoop manifest support
Finished the Scoop.sh manifest generator for Windows releases!

See #387
2018-02-12 18:36:48 -02:00
Southclaws
d7107803a3 refactor: Changed Client.CreateFile to be more generic
The GitHub implementation of CreateFile implicitly uses HomeBrew data.
Added parameters for CommitAuthor and Repo so the call site can specify
these parameters based on the context.
2018-02-09 14:20:39 -02:00
Carlos Alexandro Becker
6b02042d05 style: simplified code 2018-02-09 10:03:24 -02:00
Carlos Alexandro Becker
32ab07a180 fix: read only the first line 2018-02-09 10:03:24 -02:00
Carlos Alexandro Becker
b891a95a4b fix: godoc and file checks 2018-02-09 10:03:24 -02:00
Carlos Alexandro Becker
f3910c9751 style: improved code a bit 2018-02-09 10:03:24 -02:00
Carlos Alexandro Becker
5bc64413de feat: load github token from file 2018-02-09 10:03:24 -02:00
Olivier Bellone
f2edd97c15 fix: update brew template to use tilde heredoc syntax 2018-02-06 16:33:49 -02:00
Carlos Alexandro Becker
2b959e0c91 fix: snapcraft snap deprecated 2018-02-04 20:41:22 -02:00
Harmen
21aa07766c fix: Compile template at startup
Fail as fast as possible.
2018-02-01 19:33:24 +01:00
Carlos Alexandro Becker
fe8f503420
test: improve tests as per review 2018-01-28 11:32:14 -02:00
Carlos Alexandro Becker
fc7f33be98
style: renamed Default to WithDefaults 2018-01-26 19:35:12 -02:00
Carlos Alexandro Becker
a2d8087661
style: avoid bad abstractions 2018-01-26 19:26:28 -02:00
Carlos Alexandro Becker
b297757640
test: cover pipeline/build 100% 2018-01-26 18:59:38 -02:00
Carlos Alexandro Becker
0bac9cb7d8
Merge remote-tracking branch 'origin/master' into build 2018-01-26 18:49:26 -02:00
Carlos Alexandro Becker
2048985cc9
fix: release test 2018-01-26 15:46:42 -02:00
Carlos Alexandro Becker
535e0e0a80
fix: brew test 2018-01-26 15:45:38 -02:00
Carlos Alexandro Becker
a309eae83b
fix: updated deps
closes #527
2018-01-26 09:37:10 -02:00
Carlos Alexandro Becker
a2e2177a99
fix: linter errors 2018-01-24 21:22:45 -02:00
Carlos Alexandro Becker
befc04627f
test: fixed build pipeline tests 2018-01-23 00:22:16 -02:00
Carlos Alexandro Becker
9416dcc751
refactor: just started fixing tests 2018-01-22 01:10:17 -02:00
Carlos Alexandro Becker
4e6982a524
refactor: allow builders to have custom defaults 2018-01-21 23:37:39 -02:00
Carlos Alexandro Becker
42a8f0b194
refactor: adios build target 2018-01-21 22:44:06 -02:00
Carlos Alexandro Becker
d954f8a6df
wip 2018-01-21 18:54:33 -02:00
Carlos Alexandro Becker
a457ae6e17
feat: support multiple build systems 2018-01-21 14:31:08 -02:00
Carlos Alexandro Becker
11329b0161
fix: avoid duplicated files inside the archive 2018-01-21 12:59:15 -02:00
Carlos Alexandro Becker
4df86f953e
style: improved debug field 2018-01-21 12:31:21 -02:00
Carlos Alexandro Becker
e0f77520cc
Merge branch 'master' into docker-major-minor-etc 2018-01-19 01:20:36 -02:00
Carlos Alexandro Becker
d13a97b46d fix: improved deprecation warning output 2018-01-19 00:57:21 -02:00
Carlos Alexandro Becker
dd3b0cdcf2 feat: added deprecation warnings
closes #513
closes #514
2018-01-19 00:57:21 -02:00
Carlos Alexandro Becker
675e2ea211
feat: allow Major, Minor and Patch fields on docker tags 2018-01-18 23:55:26 -02:00
Carlos Alexandro Becker
e9351781cb test: improved docker pipe coverage 2018-01-18 21:40:16 -02:00
Carlos Alexandro Becker
92231bc930 feat: support multiple tag_templates for docker 2018-01-18 21:40:16 -02:00
Carlos Alexandro Becker
9e58a65519 feat: support download strategy on brew
closes #507
2018-01-17 19:45:02 -02:00
Carlos Alexandro Becker
4d71720b67 feat: skip formula upload 2018-01-12 19:24:58 -02:00
Carlos Alexandro Becker
43c65c19c1 feat: write formula to dist 2018-01-09 21:45:50 -02:00
Carlos Alexandro Becker
9021160b11 fix: break if env not available
closes #467
2018-01-02 19:01:55 -02:00
Carlos Alexandro Becker
8e94fa7975
test: fixed release tests 2017-12-29 20:34:09 -02:00
Carlos Alexandro Becker
12321ec0e8
test: fixed snap tests 2017-12-29 20:19:55 -02:00
Carlos Alexandro Becker
a751da5909
test: fixed tests 2017-12-29 17:51:02 -02:00
Carlos Alexandro Becker
6b0e6686a5
test: fixed tests 2017-12-29 17:35:22 -02:00
Carlos Alexandro Becker
a84148c620
feat: make goreleaser timeoutable 2017-12-29 17:07:06 -02:00
Carlos Alexandro Becker
b61aec7a1c
remove: TODOs that dont need to be fixed
Closss #490
2017-12-29 15:10:09 -02:00
Carlos Alexandro Becker
98b70f460e
docker: added missing params to artifact
closes #486
2017-12-29 15:07:21 -02:00
Carlos Alexandro Becker
7910863ecd
refactor: improved name template
Should keep the previous behavior of having binary == nametemplate
2017-12-29 11:47:13 -02:00
Carlos Alexandro Becker
876e5fbe38
style: renamed template pkg to filenametemplate 2017-12-29 11:27:15 -02:00
Carlos Alexandro Becker
fcbe6a46ed
Merge branch 'master' into template 2017-12-27 09:58:42 -02:00
Carlos Alexandro Becker
ba68011b55
fix: env 2017-12-27 09:32:24 -02:00
Carlos Alexandro Becker
3d93a2dfce
test: improved fpm test 2017-12-26 22:18:01 -02:00
Carlos Alexandro Becker
a7a290fb63
fix: use gnu-tar on macOS
closes #409
2017-12-26 22:16:34 -02:00
Carlos Alexandro Becker
2af7169484
feat: defaulter on snap pipe 2017-12-26 21:45:53 -02:00
Carlos Alexandro Becker
6270aa9cb2
feat: name template on snapcraft packages
closes #470
2017-12-26 21:44:11 -02:00
Carlos Alexandro Becker
5dba7fbfdf
feat: name_template support for fpm packages
closes #409
2017-12-26 21:36:17 -02:00
Carlos Alexandro Becker
4ce13bc7c3
refactor: name templates for archive pipe 2017-12-26 21:19:58 -02:00
Carlos Alexandro Becker
ef85d587fe
test: fixed one test 2017-12-26 16:37:05 -02:00
Carlos Alexandro Becker
f99de0aeb6
test: fix start/stop registry 2017-12-26 15:41:50 -02:00