Carlos Alexandro Becker
6b11beb4ee
added archive tests
2017-04-15 15:26:05 -03:00
Carlos Alexandro Becker
c0a310b526
fake git data
2017-04-15 14:38:54 -03:00
Carlos Alexandro Becker
1af318400b
more asserts and logs
2017-04-15 14:31:55 -03:00
Carlos Alexandro Becker
4c8c51cec4
fixed typo and added more logs
2017-04-15 14:18:17 -03:00
Carlos Alexandro Becker
9904be55a9
more asserts
2017-04-15 14:03:50 -03:00
Carlos Alexandro Becker
e48434e8e0
Revert "logs for travis debugging"
...
This reverts commit c15e8c8108
.
2017-04-15 14:00:58 -03:00
Carlos Alexandro Becker
bf9f0e0b14
Revert "avoid cd-ing in tests"
...
This reverts commit 36efad3f78
.
2017-04-15 14:00:49 -03:00
Carlos Alexandro Becker
e39dfa1ce9
Revert "trying with test fixtures"
...
This reverts commit 0b7936eb0d
.
2017-04-15 14:00:29 -03:00
Carlos Alexandro Becker
0b7936eb0d
trying with test fixtures
2017-04-15 13:58:18 -03:00
Carlos Alexandro Becker
36efad3f78
avoid cd-ing in tests
2017-04-15 13:36:48 -03:00
Carlos Alexandro Becker
c15e8c8108
logs for travis debugging
2017-04-15 13:14:01 -03:00
Carlos Alexandro Becker
ceb5c1162c
improved git coverage, code, and function
2017-04-15 13:05:54 -03:00
Carlos Alexandro Becker
7b1bc7ce70
more release tests
2017-04-15 12:18:09 -03:00
Carlos Alexandro Becker
fb9d49db34
more checksums tests
2017-04-15 12:18:00 -03:00
Carlos Alexandro Becker
1a332c4d00
simplified code
2017-04-14 16:28:08 -03:00
Carlos Alexandro Becker
cfb27f8eb0
singularized clients package
2017-04-14 16:07:34 -03:00
Carlos Alexandro Becker
624a05fff9
more release tests
2017-04-14 15:53:36 -03:00
Carlos Alexandro Becker
8ca8809d0d
more brew tests
2017-04-14 15:49:37 -03:00
Carlos Alexandro Becker
3bc428120d
adding more tests and godocs
2017-04-14 15:39:32 -03:00
Carlos Alexandro Becker
6a66e60e55
removed md5
2017-04-14 14:53:25 -03:00
Carlos Alexandro Becker
14cac2f6ae
improved test
2017-04-14 14:23:18 -03:00
Carlos Alexandro Becker
412d6e5d58
renamed test
2017-04-14 14:21:37 -03:00
Carlos Alexandro Becker
40797be1c0
truncate file if it exists
2017-04-14 14:17:32 -03:00
Carlos Alexandro Becker
68172e984d
fixed lint errors
2017-04-14 14:11:17 -03:00
Carlos Alexandro Becker
e4009a0173
format
2017-04-14 14:07:46 -03:00
Carlos Alexandro Becker
6f5ae33a7d
more tests
2017-04-14 14:06:50 -03:00
Carlos Alexandro Becker
16cf195f9b
wip checksums
2017-04-14 13:50:33 -03:00
Carlos Alexandro Becker
a38ebfcc81
checksumming wip
2017-04-14 13:50:33 -03:00
Carlos Alexandro Becker
f5ab2de674
testing failing builds
2017-04-14 12:50:20 -03:00
Carlos Alexandro Becker
522048c62f
more tests
2017-04-14 12:45:38 -03:00
Carlos Alexandro Becker
a25f6c37d5
added more build pipe tests
2017-04-14 12:38:30 -03:00
Carlos Alexandro Becker
054a34c309
removed code that is no longer necessary
2017-04-14 12:22:18 -03:00
Carlos Alexandro Becker
6bc816b1ca
fixed broken test
2017-04-14 12:18:59 -03:00
Carlos Alexandro Becker
7c0e2628a4
fixed old TODO: artifact list on context
2017-04-14 12:07:40 -03:00
Carlos Alexandro Becker
5d96249ebd
Merge branch 'master' into ldflags
2017-04-09 11:10:00 -03:00
Carlos Alexandro Becker
9185da1f5d
fixed msg
2017-04-09 10:44:28 -03:00
Carlos Alexandro Becker
984ba48068
fixed several lint errors
2017-04-09 10:43:23 -03:00
Carlos Alexandro Becker
34cd3c4196
fixed ldflags time format
2017-04-09 10:22:09 -03:00
Carlos Alexandro Becker
8da2def47a
removed logs
2017-04-08 21:55:45 -03:00
Carlos Alexandro Becker
73305fcb80
Merge branch 'master' into ldflags
2017-03-26 15:59:23 -03:00
Carlos Alexandro Becker
1ebcd81bc3
release tests
2017-03-26 15:56:35 -03:00
Carlos Alexandro Becker
4b66e8ea01
brew tests
2017-03-26 15:30:21 -03:00
Carlos Alexandro Becker
ee5bed9927
client interface
2017-03-26 14:46:25 -03:00
Carlos Alexandro Becker
b3f7996744
Merge branch 'master' into ldflags
2017-03-25 21:47:12 -03:00
Carlos Alexandro Becker
b7b464c01f
more tests
2017-03-25 21:45:16 -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
1ee7fafe96
more tests
2017-03-25 20:54:14 -03:00
Carlos Alexandro Becker
2885b24976
improving code
2017-03-25 20:53:01 -03:00
Carlos Alexandro Becker
7739a944db
Merge branch 'master' into ldflags
2017-03-25 20:49:29 -03:00
Carlos Alexandro Becker
78813bfe5b
fix
2017-03-25 20:46:02 -03:00
Carlos Alexandro Becker
beb6aeafe4
more boilerplate tests
2017-03-25 20:43:42 -03:00
Carlos Alexandro Becker
652f57ef2e
more tests
2017-03-25 20:40:45 -03:00
Carlos Alexandro Becker
03bae3d4da
added git pipeline tests
2017-03-25 20:36:21 -03:00
Carlos Alexandro Becker
a2eb844e44
fixed todo
2017-03-25 20:27:32 -03:00
Carlos Alexandro Becker
4af2cb00ea
ldflags template
2017-03-25 20:24:38 -03:00
Carlos Alexandro Becker
52a537c50e
err early
2017-03-23 18:32:27 -03:00
Carlos Alexandro Becker
cc46a0b347
fixed pre/post build hooks
2017-03-23 14:20:24 -03:00
Carlos Alexandro Becker
0aa98cef67
adding logs for pre and post build hooks
2017-03-23 14:10:39 -03:00
Carlos Alexandro Becker
60098679ef
govet
2017-03-22 21:29:14 -03:00
Carlos Alexandro Becker
4fdfd47bd6
fixed test
2017-03-22 21:25:41 -03:00
Carlos Alexandro Becker
d430d9ed38
Merge branch 'master' into config
2017-03-22 21:22:06 -03:00
Carlos Alexandro Becker
0031425871
accept both BinaryName and Binary on name_template
2017-03-22 21:11:53 -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
Carlos Alexandro Becker
35acdaee32
skip invalid builds
...
closes https://github.com/goreleaser/goreleaser/issues/142
2017-03-18 20:40:26 -03:00
Paulo Sousa
3ed26ed83b
homebrew: move default install cmd to defaults pipe
2017-03-09 16:33:17 -03:00
Paulo Sousa
a5104aca17
homebrew: fix indent on template and remove install commands logic from it
2017-03-09 15:33:45 -03:00
Paulo Sousa
938b50c399
homebrew: add custom install command
2017-03-09 14:24:49 -03:00
Carlos Alexandro Becker
b77e2cf93e
changing default main from main.go to .
2017-02-26 13:01:48 -03:00
Carlos Alexandro Becker
523431bd0d
context everywhere
2017-02-23 16:01:54 -03:00
Carlos Alexandro Becker
e733e78757
Merge branch 'master' into fields
2017-02-23 09:33:06 -03:00
Carlos Alexandro Becker
103cbb2996
using strings.Fields instead of strings.Split on space
2017-02-23 09:28:45 -03:00
Carlos Alexandro Becker
4bee616121
using strings.Split
2017-02-23 09:27:54 -03:00
Carlos Alexandro Becker
b2fcbaeb49
support for custom build flags
2017-02-22 09:25:43 -03:00
lucapette
846a822bb2
First implementation of plist field
2017-02-21 16:06:10 +01:00
Carlos Alexandro Becker
ec391a4a79
adds conflicts_with for fpm and brew
2017-02-01 15:40:27 -02:00
Carlos Alexandro Becker
80b6b141bc
using git diff
2017-01-31 11:24:48 -02:00
Carlos Alexandro Becker
c08981d0af
git diff
2017-01-31 11:13:47 -02:00
Carlos Alexandro Becker
2938132987
improved status output
2017-01-31 11:08:12 -02:00
Carlos Alexandro Becker
6e94482a23
git status if fail
...
closes #108
2017-01-30 23:46:51 -02:00
Carlos Alexandro Becker
0f2f8dd1a1
concurrency fix
2017-01-30 14:53:21 -02:00
Carlos Alexandro Becker
954935823d
comment IsNotExist on release pipe
2017-01-30 10:01:29 -02:00
Carlos Alexandro Becker
a444a4ef53
improve version regex
2017-01-30 10:01:05 -02:00
Carlos Alexandro Becker
1c2221b2c5
using cmd.CombinedOutput()
2017-01-30 08:17:15 -02:00
Carlos Alexandro Becker
4ca2bb2101
erroring if version is invalid
2017-01-30 08:08:42 -02:00
Carlos Alexandro Becker
289921d278
using version on build ldflag too
2017-01-30 08:06:48 -02:00
Carlos Alexandro Becker
d13da655fd
added comments
2017-01-30 07:54:40 -02:00
Carlos Alexandro Becker
dd277451d8
using lookpath
2017-01-30 07:53:05 -02:00
Carlos Alexandro Becker
3f2eb7c56b
code improvements
2017-01-29 22:33:08 -02:00
Carlos Alexandro Becker
8b83e59971
fixed test
2017-01-29 22:01:26 -02:00
Carlos Alexandro Becker
aace3d4813
added fpm support
...
closes #10
2017-01-29 21:55:32 -02:00
Carlos Alexandro Becker
abdf65c57c
source pipe dont need to be a pointer
2017-01-23 09:47:35 -02:00
Carlos Alexandro Becker
415aadb346
changed order of cmd.Env appends
2017-01-23 09:41:51 -02:00
Carlos Alexandro Becker
590f67acb0
Merge branch 'master' into hooks
2017-01-23 09:32:37 -02:00
Carlos Alexandro Becker
e76474d16d
simplified env for build
2017-01-23 09:27:28 -02:00
Carlos Alexandro Becker
26a2471526
added hooks support
...
add support for pre and post hooks on build pipe
2017-01-21 20:02:51 -02:00
Carlos Alexandro Becker
54708f9005
added doc
2017-01-21 19:33:30 -02:00
Carlos Alexandro Becker
178e821e43
fix git describe command
2017-01-21 19:28:44 -02:00
Carlos Alexandro Becker
8269a4f772
improved error msg
2017-01-21 19:14:02 -02:00
Carlos Alexandro Becker
5539515057
missing error return
2017-01-21 19:13:39 -02:00
Carlos Alexandro Becker
956464bc67
improved error msg
2017-01-21 19:13:07 -02:00
Carlos Alexandro Becker
6575400577
dont git stash or checkout, just fail
2017-01-21 19:11:54 -02: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
Jorin Vogel
b8d24c79c6
Log used tag
2017-01-19 10:30:15 +01:00
Jorin Vogel
d338caefc8
Cleaning up duplicated code.
2017-01-19 10:24:04 +01:00
Jorin Vogel
6677571e8c
Clean logging output
2017-01-19 10:04:41 +01:00
Jorin Vogel
655e64b4bf
Always use latest tag as source. Fixes #72 .
...
Stash local changes and checkout tag before building and releasing.
Added a Cleaner interface to revert repo to original state after.
Clean is even called after errors.
Source pipe is implemented as pointer to store local state.
2017-01-19 09:47:17 +01:00
Jorin Vogel
22dd16df81
Fix parsing of repo options.
...
Before this it break when leaving, for example,
the `brew` section empty.
2017-01-19 09:05:20 +01:00
Carlos Alexandro Becker
e8ab2b2fe2
removed unneeded pointers from context
2017-01-18 15:08:48 -02:00
Carlos Alexandro Becker
aa1699747e
remove : from depends_on
...
refs https://github.com/goreleaser/goreleaser/issues/86#issuecomment-273221892
2017-01-17 15:44:43 -02:00
Carlos Alexandro Becker
76926a402d
missing quotes on formulae with dependencies
...
fixes
https://github.com/goreleaser/goreleaser/issues/86#issuecomment-273221892
2017-01-17 15:38:52 -02:00
Carlos Alexandro Becker
b6d1b56a04
added brew dependencies support
2017-01-17 08:33:43 -02:00
Carlos Alexandro Becker
017541574c
fail brew pipe if there is no darwin_amd64 build
2017-01-16 14:52:27 -02:00
Carlos Alexandro Becker
c3c0a8ac68
improved test
2017-01-15 15:05:30 -02:00
Carlos Alexandro Becker
9a7277c4ae
improved test
2017-01-15 15:03:12 -02:00
Carlos Alexandro Becker
644978173f
renaming fixes
2017-01-15 14:53:24 -02:00
Carlos Alexandro Becker
ff2cc96039
Merge branch 'master' into goreleaser.example.yml
2017-01-15 08:49:49 -02:00
Carlos Alexandro Becker
4aa098052d
golint comments
2017-01-15 08:48:27 -02:00
Carlos Alexandro Becker
6d884dde1b
fixes
2017-01-14 20:11:47 -02:00
Carlos Alexandro Becker
276e521e5e
Merge branch 'master' into goreleaser.example.yml
2017-01-14 20:09:44 -02:00
Carlos Alexandro Becker
f8bd3874ea
fix
2017-01-14 20:06:05 -02:00
Carlos Alexandro Becker
be4c189f70
more renames
2017-01-14 20:05:36 -02:00
Carlos Alexandro Becker
5974b4570c
more renames
2017-01-14 20:03:11 -02:00
Carlos Alexandro Becker
f95832a7ac
renamed package
...
refs #79
2017-01-14 20:01:32 -02:00
Carlos Alexandro Becker
995365c04a
fixed tests
2017-01-14 19:52:39 -02:00
Carlos Alexandro Becker
62141803e5
organized config and renamed compress package
2017-01-14 19:47:47 -02:00
Carlos Alexandro Becker
a33073bfee
Github vs GitHub
2017-01-14 19:23:58 -02:00
Jorin Vogel
a2bf57f8e1
Fixing some linter errors
2017-01-14 19:41:32 +01:00
Jorin Vogel
eaafc0a46b
Default for binary_name
2017-01-14 19:29:30 +01:00
Jorin Vogel
37034012c4
Default value for repo option.
...
It's loaded from Git config.
Thanks @caarlos0 for implementing remoteRepo func!
2017-01-14 19:12:20 +01:00
Carlos Alexandro Becker
33a58cbacf
fix
2017-01-14 15:30:28 -02:00
Carlos Alexandro Becker
adbc830034
lowercase #77
2017-01-14 15:17:03 -02:00
Carlos Alexandro Becker
20f46dc05c
lowercase #77
2017-01-14 15:16:29 -02:00
Carlos Alexandro Becker
77bf22b01b
renamed pipe name to pipe description
2017-01-14 15:14:35 -02:00
Carlos Alexandro Becker
b18185da18
even more improvements
2017-01-14 15:08:10 -02:00
Carlos Alexandro Becker
764f23869e
github client factory
2017-01-14 14:50:50 -02:00
Carlos Alexandro Becker
ef1bd21c8b
test fix
2017-01-14 14:46:03 -02:00
Carlos Alexandro Becker
483290c5cd
defaults tests
2017-01-14 14:38:48 -02:00
Carlos Alexandro Becker
720786280c
tests
2017-01-14 14:29:01 -02:00
Carlos Alexandro Becker
9e82470a61
wip
2017-01-14 14:06:57 -02:00
Carlos Alexandro Becker
f8d0601bdd
release
2017-01-14 12:55:52 -02:00
Carlos Alexandro Becker
6c8cbeebc8
Merge remote-tracking branch 'origin/master' into context
2017-01-14 12:51:16 -02:00
Carlos Alexandro Becker
4e10d93b4d
buidl with ext
2017-01-14 12:51:09 -02:00
Carlos Alexandro Becker
ddec194c7e
wip ctx
2017-01-14 12:34:22 -02:00
Carlos Alexandro Becker
014919d03e
Merge branch 'master' into existing-release
2017-01-14 11:25:55 -02:00
Carlos Alexandro Becker
9908fec4aa
create brew formulae in a subfolder
2017-01-14 11:18:48 -02:00
Carlos Alexandro Becker
0d0f2a6720
improved create/update formulae logic
2017-01-14 11:06:50 -02:00
Carlos Alexandro Becker
ba7a8ae7a2
lint
2017-01-13 21:45:16 -02:00