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

166 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
c38307b572
update or create release 2017-01-13 21:42:28 -02:00
Carlos Alexandro Becker
dd786912f9
cleanup 2017-01-11 20:27:13 -02:00
Carlos Alexandro Becker
e3220b8257
customize ldflags
closes ##5
2017-01-11 20:25:52 -02:00
Carlos Alexandro Becker
5b5e4f8629
fix missing . in brew sha256 2017-01-11 15:06:34 -02:00
Carlos Alexandro Becker
8731ef7ece
refactory 2017-01-11 14:47:56 -02:00
Carlos Alexandro Becker
d13667d173
fixes 2017-01-11 14:28:12 -02:00
Carlos Alexandro Becker
09dda77687
Merge branch 'master' into name-template 2017-01-11 14:22:41 -02:00
Carlos Alexandro Becker
b4b69ddb25
fixed tests and linters 2017-01-11 14:08:29 -02:00
Carlos Alexandro Becker
ee915f2316
added sha256, removed head 2017-01-11 14:02:57 -02:00
Carlos Alexandro Becker
2c5bf3ebeb Merge branch 'master' into name-template 2017-01-11 13:41:24 -02:00
Carlos Alexandro Becker
49032d3c19
Merge branch 'master' into brew-simple 2017-01-11 13:21:43 -02:00
Carlos Alexandro Becker
1a7f5d9daf
factory method 2017-01-09 12:46:20 -02:00
Carlos Alexandro Becker
b786217025
Merge remote-tracking branch 'origin/master' into zip 2017-01-09 12:42:46 -02:00
Carlos Alexandro Becker
2aec3dff42
fixed first release to homebrew repo 2017-01-07 17:51:23 -02:00
Carlos Alexandro Becker
9f7ff008e9
simplify brew formulae 2017-01-06 13:54:14 -02:00
Carlos Alexandro Becker
667326f9b1
fix tests 2017-01-06 13:52:14 -02:00
Carlos Alexandro Becker
196bd5017e
release and brew format 2017-01-06 13:48:25 -02:00
Carlos Alexandro Becker
98708c71c2
zip and tar 2017-01-06 13:30:02 -02:00
Carlos Alexandro Becker
715b77e221
tar and zip 2017-01-06 13:23:49 -02:00
Carlos Alexandro Becker
84b5954f47
fix test 2017-01-06 11:14:55 -02:00
Carlos Alexandro Becker
d715fe38a2
gofmt and goimports 2017-01-06 11:13:17 -02:00
Carlos Alexandro Becker
43f1f9c714
continuing 2017-01-06 11:07:41 -02:00
Carlos Alexandro Becker
41386c001f
imports 2017-01-04 10:16:18 -02:00
Carlos Alexandro Becker
16e1b95308
name template wip 2017-01-04 10:13:49 -02:00
jspc
9902043878
Reorder defer'd closers
Commit 40de5c5c64 introduces a regression (see comment) whereby
the tarball is closed before data is completely written, thus breaking the release package
2017-01-03 20:19:07 +00:00
Carlos Alexandro Becker
40de5c5c64
added errcheck 2017-01-02 13:20:33 -02:00
Carlos Alexandro Becker
27aaac4132
improved code a little 2017-01-02 11:49:30 -02:00
Carlos Alexandro Becker
eba57ca357
gofmt and goimports 2017-01-02 10:47:19 -02:00
Carlos Alexandro Becker
57edf81057
gometalinter on ci and some fixes 2017-01-02 10:45:05 -02:00
Carlos Alexandro Becker
d9c66dd27a
empty line 2016-12-31 17:14:43 -02:00
Carlos Alexandro Becker
9b0c782e73
even better 2016-12-31 17:13:49 -02:00
Carlos Alexandro Becker
54991ede0b
got rid of useless whitespaces on brew template 2016-12-31 17:11:12 -02:00
Carlos Alexandro Becker
bf6ff3dee7
improved brew tests 2016-12-31 17:02:25 -02:00
Carlos Alexandro Becker
fdd582cd0f
url fix 2016-12-31 16:47:52 -02:00