Eli Young
c56e2dff2f
fix: Only put actual caveats in Homebrew formulae
...
If the config file has no entry for caveats, the Caveats field of the
struct defaults to the empty string. When strings.Split() is called on
the empty string, it returns []string{""}. This is considered truthy by
the template processor, resulting in a caveats section consisting of a
blank line.
2018-04-05 20:36:26 -03:00
Eli Young
75afc6bbd7
fix: Use squiggly heredocs in Homebrew formulae
...
Homebrew now warns that <<-EOS.undent is deprecated.
2018-04-05 20:36:26 -03:00
Carlos Alexandro Becker
d6436729c7
fix: fixed formatting
2018-04-04 19:18:07 -03:00
Carlos Alexandro Becker
ecce86f121
fix: homebrew spacing in the formula
2018-04-04 19:18:07 -03:00
Carlos Alexandro Becker
ff867876b4
feat: using archive url to generate brew from source
2018-04-04 19:18:07 -03:00
Dominik Schulz
3c1f856ddf
fix: improve homebrew formula
...
This commit improves the homebrew formula pipeline step to support
more customizations.
2018-04-04 19:18:07 -03:00
Erno Aapa
79a48eae7b
fix: Fix Brew formula class name when using custom name
...
The #597 added support for customizing the final Brew formula name.
The generated *.rb file still were using the project name as
class name and installing with custom name didn't work.
Fixed the issue by using the `name` field as an input for
building the class name, which defaults to project name
if no name given.
2018-03-25 13:28:54 -03:00
Carlos Alexandro Becker
8877c72abc
chore: better commit msgs for brew and scoop pipes ( #605 )
...
* style: moving commit msg to the pipe instead of the client
refs #604
* fix: better commit msg for scoop and brew
2018-03-10 14:13:00 -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
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
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
9dfb8547d4
fix: global default for github download url
2018-02-15 00:34:12 -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
Olivier Bellone
f2edd97c15
fix: update brew template to use tilde heredoc syntax
2018-02-06 16:33:49 -02:00
Carlos Alexandro Becker
535e0e0a80
fix: brew test
2018-01-26 15:45:38 -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
60001bf63c
fix: fixed writing golden files
2017-12-25 20:09:55 -02:00
Carlos Alexandro Becker
bd5df9da3a
fix: fixed writing golden files
2017-12-25 19:58:07 -02:00
Carlos Alexandro Becker
f9dbfb5d70
fix: cleaning up
2017-12-17 22:28:24 -02:00
Carlos Alexandro Becker
92b9d92bc8
fix: cleaning up
2017-12-17 22:11:04 -02:00
Carlos Alexandro Becker
f433bcb59c
fix: brew tests/multiple darwin builds/gh enterprise
2017-12-17 20:15:18 -02:00
Carlos Alexandro Becker
1982259c29
refactor: improved artifact filtering
2017-12-17 16:59:54 -02:00
Carlos Alexandro Becker
248810535e
refactor: fixed brew pipe
2017-12-17 16:31:06 -02:00
Carlos Alexandro Becker
bb5e27b0c4
fix: remove brew taps listing from release notes
...
It never worked, because the brew pipe is the last
to run.
Either way, it is not a really useful thing to
have I think.
2017-12-08 22:03:26 -02:00
Carlos Alexandro Becker
e87ab21a0a
feat: improved release notes
...
- Added homebrew taps
- Docker pull commands instead of list of docker imgs
2017-12-06 00:13:24 -02:00
Carlos Alexandro Becker
a432839ad4
test: brew tests
...
Added more tests to cover defaulter.
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
44d01ceccb
fix: removed uneeded docs
...
We use fmt.Stringer now
2017-12-03 13:00:01 -02:00
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
adc2d7d4c5
fix: dependencies and conflicts on brew tap
...
They were being inlined, generating an invalid receipt.
closes #416
2017-11-13 18:02:25 -02:00
Carlos Alexandro Becker
fe36819fe7
Merge branch 'master' into lint
2017-09-27 08:43:52 -03: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
e0db1b4677
unit tests fixed
2017-09-26 19:00:24 -03:00
Carlos Alexandro Becker
fd414e54b8
fixed
2017-09-26 18:52:37 -03:00
Carlos Alexandro Becker
fd0e57ee4e
github enterprise config update
2017-09-26 18:33:22 -03:00
Carlos Alexandro Becker
9b247f93d2
fixing tests
2017-09-25 19:01:10 -03:00
Carlos Alexandro Becker
4fefd7608e
merge fixes
2017-09-24 14:25:21 -03:00
Carlos Alexandro Becker
632d206848
Merge branch 'pull-369' into github-enterprise
2017-09-24 14:17:31 -03:00
Stephan Klevenz
ca48aa430f
support github enterprise
2017-09-24 17:02:34 +02:00
Carlos Alexandro Becker
618711cd43
fixed uploads url
2017-09-22 09:42:36 -03:00
Carlos Alexandro Becker
567b7a9b1b
support github enterprise
2017-09-15 11:04:03 -03:00
Carlos Alexandro Becker
ce7a2227a0
fixed tests
2017-08-20 16:50:34 -03:00
Carlos Alexandro Becker
e8da61278f
skipped as an error type
2017-08-20 16:35:52 -03:00
Carlos Alexandro Becker
fc440eca39
amend
2017-07-16 16:02:26 -03:00
Carlos Alexandro Becker
6da24955f5
cleanup
2017-07-16 16:02:18 -03:00
Carlos Alexandro Becker
caa4aa0553
improved formula and tests
2017-07-16 16:01:20 -03:00
Carlos Alexandro Becker
46501ba697
revert unintended change
2017-07-16 15:23:29 -03:00
Carlos Alexandro Becker
871a615c06
template ok
2017-07-16 15:21:49 -03:00