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

71 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
1ed299a6d7 refactor: defaulter interface
Right now the code looks weird because the defaults
of a pipe are far away of the implementation of the pipe.

the intend of this PR is to bring them closer by having a
Defaulter interface.

I also renamed the Pipe interface to Piper, and removed
the Description method in favor for fmt.Stringer.
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
8e6133c70c feat: allow override dist folder
Allow configuring the dist folder via
config file.

Closes #421
2017-11-26 22:20:40 -02:00
Joseph Wright
d9f13a3b12 refactor: set default value of bindir in defaults pipe
Rather than using a conditional to check if `bindir` has been set,
use the defaults pipe to set it to `/usr/local/bin` if it has not
been set in the config file.
2017-11-08 19:11:10 -02:00
Matt Stratton
8f71cf33a0 Merge branch 'master' into mattstratton/add-custom-release-title 2017-10-16 13:57:04 -05:00
Matt Stratton
31511b9b77
feat: Add ability to specify release name
TODO:  factor all the name stuff
 into a function like the others, so maybe
setNameDefaults(ctx), etc.
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-16 13:55:11 -05:00
Carlos Alexandro Becker
850c2e14f2 fix: detect if current folder is a subfolder of a parent git repo
We were checking for a .git folder, which would break in cases
where goreleaser is running from a subfolder of a monorepo, for example.

Check 529af6f#commitcomment-25011738

Closes #402 #403
2017-10-16 15:59:39 -02:00
Matt Stratton
973356694a Merge branch 'master' into mattstratton/add-custom-release-title 2017-10-16 08:36:46 -05:00
Carlos Alexandro Becker
529af6fe72 refactor: improved git error handling
Improved the error handling in git code,
mostly in the defaults pipe. The idea is to
output better error messages, hopefully avoiding
confusion on "whats wrong".

refs #356
2017-10-15 19:18:04 -02:00
Matt Stratton
ee67918187
feat: Change default release name to match tag
I updated the default release name to match
the git tag, per the request in the PR.

Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-07 15:35:52 -05:00
Matt Stratton
e2ee7c4b2f
feat: Add ability to specify release name
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-07 05:49:58 -05:00
Carlos Alexandro Becker
e798a8dc3a Merge branch 'master' into lint 2017-10-01 09:46:14 -03:00
Jorin Vogel
a5bf473f70
Add config field to overwrite brew commit author
Default author name and email can be set in config file.
Close #292.
2017-09-30 21:18:09 +02:00
Carlos Alexandro Becker
d85a9001ec
removing all assert.New because vet shadow complains about this now
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
Carlos Alexandro Becker
64ffdd4a5c
enabled more linters and fixed them 2017-09-14 21:19:56 -03:00
Carlos Alexandro Becker
ccd55bfc7d
defaults tests 2017-09-12 00:49:02 -03:00
Carlos Alexandro Becker
60901d31f3
improvements 2017-09-11 23:42:36 -03:00
Carlos Alexandro Becker
c541d99c58
checksums name template support 2017-08-27 20:45:33 -03:00
Carlos Alexandro Becker
6158285994
project name, templates, readme, etc 2017-07-01 22:42:10 -03:00
Carlos Alexandro Becker
b93061570c
fixing one todo 2017-07-01 22:06:40 -03:00
Carlos Alexandro Becker
b41b2f7bd8
cleaning up 2017-07-01 21:52:04 -03:00
Carlos Alexandro Becker
cc5f80b3a9
added backwards compat to single build 2017-07-01 21:27:30 -03:00
Carlos Alexandro Becker
4fa83104d8
defaults tests 2017-07-01 21:13:02 -03:00
Carlos Alexandro Becker
a8f1645ea9
fixing archiving and brew 2017-06-27 20:06:45 -03:00
Carlos Alexandro Becker
4504cd4527
fixing more errors 2017-06-27 19:36:36 -03:00
Carlos Alexandro Becker
ed5ccf9bdb
wip multiple builds 2017-06-27 19:20:08 -03:00
Carlos Alexandro Becker
cdafdc785a
added version to default name_template
refs #239
2017-05-19 23:37:51 -03:00
Carlos Alexandro Becker
683e6e85f2
deleting replacements 2017-05-18 13:08:11 -03:00
Carlos Alexandro Becker
777441c45e
breaking: do not default to uname values
check discussion on #236

closes #236
2017-05-18 12:44:55 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files 2017-05-11 00:05:51 -03:00
Carlos Alexandro Becker
72a32f0475
improved defaults cyclo complexity 2017-05-01 10:02:23 -03:00
Horst Gutmann
6d1d9dcd8e Add snapshot builds 2017-05-01 14:17:31 +02:00
Carlos Alexandro Becker
0525e9014c
added goarch option to build section 2017-04-24 14:27:21 -03:00
Carlos Alexandro Becker
26727a6f7f
added more archive pipe test 2017-04-22 10:29:53 -03:00
Carlos Alexandro Becker
2919edc13f
added more tests to defaults pipe 2017-04-22 10:21:37 -03:00
Carlos Alexandro Becker
69845c683b
removed deprecated code 2017-04-21 12:31:06 -03:00
Carlos Alexandro Becker
0498ec3393
cleanup 2017-04-19 17:09:58 -03:00
Carlos Alexandro Becker
624a05fff9
more release tests 2017-04-14 15:53:36 -03:00
Carlos Alexandro Becker
3bc428120d
adding more tests and godocs 2017-04-14 15:39:32 -03:00
Carlos Alexandro Becker
ec57004312 Merge branch 'master' into ldflags 2017-03-25 21:35:17 -03:00
Carlos Alexandro Becker
3ce5a430ee
renamed 2017-03-25 21:31:16 -03:00
Carlos Alexandro Becker
7610138016
more test 2017-03-25 21:29:38 -03:00
Carlos Alexandro Becker
7739a944db
Merge branch 'master' into ldflags 2017-03-25 20:49:29 -03:00
Carlos Alexandro Becker
beb6aeafe4
more boilerplate tests 2017-03-25 20:43:42 -03:00
Carlos Alexandro Becker
4af2cb00ea
ldflags template 2017-03-25 20:24:38 -03:00
Carlos Alexandro Becker
4fdfd47bd6
fixed test 2017-03-22 21:25:41 -03:00
Carlos Alexandro Becker
b3fa5cfc19
renamed from binary_name to binary 2017-03-22 21:06:37 -03:00
Carlos Alexandro Becker
45ec67efb3
changing repo config 2017-03-22 21:01:29 -03:00
Paulo Sousa
3ed26ed83b homebrew: move default install cmd to defaults pipe 2017-03-09 16:33:17 -03:00
Carlos Alexandro Becker
b77e2cf93e
changing default main from main.go to . 2017-02-26 13:01:48 -03:00
Jorin Vogel
809cb682d2 Merge branch 'master' of https://github.com/goreleaser/goreleaser into tag-only
* 'master' of https://github.com/goreleaser/goreleaser:
  fixed name on --help
  removed unneeded pointers from context
2017-01-19 10:30:47 +01:00