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

561 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
07c8d05425 Merge branch 'master' into mattstratton/add-custom-release-title 2017-10-07 23:27:18 -03:00
Carlos Alexandro Becker
7d6ef4d338 chore: improved docker test code
using defer and added a log
2017-10-07 23:26:54 -03:00
Carlos Alexandro Becker
650e14d297 fix: docker tests should not depend on the main docker registry
Makes it not necessary to be logged in the in the docker registry for
the tests to work by using a local registry.

Fixes #379
2017-10-07 23:26:54 -03: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
Jorin Vogel
db7af5388d
feat: Add prerelease option
Add an config option to `release` section to set a release at not ready
for production.

Closes #384
2017-10-05 15:47:29 +02:00
Jorin Vogel
0e2e8c8eb3
feat: Add archive config 'wrap_in_directory'
The field is optional. When set to true, files in archive are wrapped
in a directory, which has the same name as the archive itself.
Tests have also been extended to cover this.

Closes #251
2017-10-02 18:53:18 +02: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
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
b72e2bc27e
fixed lint errors 2017-09-26 18:50:00 -03:00
Carlos Alexandro Becker
fd0e57ee4e
github enterprise config update 2017-09-26 18:33:22 -03:00
Carlos Alexandro Becker
9ddf723c4e
Merge branch 'master' into github-enterprise 2017-09-26 18:25:11 -03:00
Carlos Alexandro Becker
bd7e503961
allows extra copies in the docker image 2017-09-25 19:10:04 -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
1cd2e5e625 Merge branch 'master' into support-github-enterprise 2017-09-24 17:25:17 +02:00
Stephan Klevenz
ca48aa430f support github enterprise 2017-09-24 17:02:34 +02:00
Carlos Alexandro Becker
ff0750285c
typo 2017-09-22 09:44:15 -03:00
Carlos Alexandro Becker
618711cd43
fixed uploads url 2017-09-22 09:42:36 -03:00
Carlos Alexandro Becker
cff77260cc
Merge remote-tracking branch 'origin/master' into github-enterprise 2017-09-22 09:29:08 -03:00
Carlos Alexandro Becker
230d794c75
fix 2017-09-22 09:26:35 -03:00
Carlos Alexandro Becker
2e31f04bf9
fix 2017-09-22 09:26:19 -03:00
Benjamin Jorand
26d1bc9d01 push image with tag latest 2017-09-22 12:10:05 +02:00
Carlos Alexandro Becker
c320f338ea
adding docker images into the release notes 2017-09-16 15:31:48 -03:00
Carlos Alexandro Becker
5ac2918380 Merge pull request #360 from goreleaser/linter
enabled more linters and fixed them
2017-09-16 14:09:01 -03:00
Carlos Alexandro Becker
567b7a9b1b
support github enterprise 2017-09-15 11:04:03 -03:00
Carlos Alexandro Becker
ab1acbb897
fixed log msg 2017-09-14 21:35:11 -03:00
Carlos Alexandro Becker
64ffdd4a5c
enabled more linters and fixed them 2017-09-14 21:19:56 -03:00
Carlos Alexandro Becker
2175bf1e80
also supporting latest docker tag 2017-09-14 20:16:49 -03:00
Carlos Alexandro Becker
f4c79826da
tests updated 2017-09-14 19:41:55 -03:00
Carlos Alexandro Becker
bf6b6fe9f8
fixed docker version name when snapshots 2017-09-14 19:38:48 -03:00
Carlos Alexandro Becker
bbc594864e
added some docker pipe tests 2017-09-12 20:58:02 -03:00
Carlos Alexandro Becker
9f95e2a3c8
custom dockerfile name 2017-09-12 10:04:56 -03:00
Carlos Alexandro Becker
ea55b4f5a1
linking 2017-09-12 07:54:43 -03:00
Carlos Alexandro Becker
ccd55bfc7d
defaults tests 2017-09-12 00:49:02 -03:00
Carlos Alexandro Becker
7e1a4b4f94
initial test 2017-09-12 00:29:12 -03:00
Carlos Alexandro Becker
4c4b9ef42c
cleanups 2017-09-12 00:22:02 -03:00
Carlos Alexandro Becker
2ce8589587
improvements 2017-09-11 23:59:43 -03:00
Carlos Alexandro Becker
5de81fbaac
imports 2017-09-11 23:50:57 -03:00
Carlos Alexandro Becker
60901d31f3
improvements 2017-09-11 23:42:36 -03:00
Carlos Alexandro Becker
b9e8ed64d1
draft: docker support 2017-09-11 23:31:00 -03:00
Horst Gutmann
b1b382caf8 Print a more verbose error message if archiving fails 2017-09-09 11:10:08 +02:00
Carlos Alexandro Becker
be4f43af65
added templates
closes #274
2017-09-02 22:51:03 -03:00
Carlos Alexandro Becker
6cff2728c3
more unit tests 2017-08-27 22:08:53 -03:00
Carlos Alexandro Becker
c541d99c58
checksums name template support 2017-08-27 20:45:33 -03:00
Carlos Alexandro Becker
9bc1beed62
padronizing snapcraft packages name 2017-08-27 13:47:41 -03:00
Carlos Alexandro Becker
71eab55b42
fixed arm .deb 2017-08-27 13:18:23 -03:00
Carlos Alexandro Becker
bbaabd7c37
improved logging 2017-08-20 17:46:30 -03:00
Carlos Alexandro Becker
ce7a2227a0
fixed tests 2017-08-20 16:50:34 -03:00
Carlos Alexandro Becker
8f67faf2d0
fmt 2017-08-20 16:37:52 -03:00
Carlos Alexandro Becker
e8da61278f
skipped as an error type 2017-08-20 16:35:52 -03:00
Carlos Alexandro Becker
c95dee9f94
Merge remote-tracking branch 'origin/master' into rpm 2017-08-20 15:56:54 -03:00
Carlos Alexandro Becker
dbd24b3e7c
fixed tests 2017-08-20 15:56:26 -03:00
Carlos Alexandro Becker
15a29d4ee7
removed duplicated code in snapcraft tests 2017-08-19 20:20:59 -03:00
Carlos Alexandro Becker
d7efa64075
removed duplicated code 2017-08-19 12:47:04 -03:00
Carlos Alexandro Becker
afb23f9ae8
gofmt -s 2017-08-18 20:10:55 -03:00
Carlos Alexandro Becker
70e042e973
building rpm packages as well 2017-08-18 19:46:40 -03:00
Carlos Alexandro Becker
fa5168c505
fixed ineffassign 2017-08-18 19:14:50 -03:00
Carlos Alexandro Becker
35eb7144a5
fixed typo 2017-08-18 18:53:54 -03:00
Carlos Alexandro Becker
f154eab9c3
code review for #335 2017-08-18 18:44:34 -03:00
Carlos Alexandro Becker
683c019bc1 Merge pull request #335 from matthewmueller/fix/rpm
fix RPM cross-compiling (OSX => amazonlinux/CentOS)
2017-08-18 18:42:44 -03:00
Carlos Alexandro Becker
34ad854a33
improved logs 2017-08-17 18:41:08 -03:00
Matthew
164af46838 fix RPM cross-compiling (OSX => amazonlinux/CentOS) 2017-08-17 14:29:32 +07:00
Lachlan Donald
c15d4b6821
Add a Files stanza to the FPM config
This allows for extra files to be passed into FPM packages.
2017-08-09 12:00:44 +10:00
Leo Arias
58ab671b57 allow to overwrite the snap name 2017-08-07 16:28:04 +00:00
Leo Arias
0591ab4538 Allow plugs and daemon to the snaps 2017-08-04 05:42:55 +00:00
Carlos Alexandro Becker
a705c7bc7d
snapcraft pipe test coverage increased 2017-08-03 22:29:02 -03:00
Carlos Alexandro Becker
fa9f746ff3
CR 2017-08-03 21:42:11 -03:00
Carlos Alexandro Becker
2cb3808b82
maybe fixing test 2017-08-02 09:22:51 -03:00
Carlos Alexandro Becker
a3a7542f41
gofmt 2017-08-02 09:17:19 -03:00
Carlos Alexandro Becker
55fdb249f8
fixes 2017-08-02 09:16:59 -03:00
Carlos Alexandro Becker
377b800c9b
small improvements 2017-08-02 09:06:28 -03:00
Leo Arias
4c99a8e1bd Change the log to Error 2017-08-02 07:44:22 +00:00
Leo Arias
11e32885e1 create the prime dir without snapcraft 2017-07-28 01:05:43 +00:00
Leo Arias
dd958ff3a6 clean, just in case 2017-07-27 03:43:53 +00:00
Leo Arias
e8bf270ba2 add the snapcraft pipeline 2017-07-27 02:52:00 +00:00
Carlos Alexandro Becker
f643b33bda
git on testlib 2017-07-23 16:42:17 -03:00
Carlos Alexandro Becker
57753af876
testlib 2017-07-23 16:27:46 -03:00
Carlos Alexandro Becker
952d36cbfe
moved errors to another file 2017-07-18 00:21:12 -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
Carlos Alexandro Becker
a3db024e98
wip improving formulaes 2017-07-16 15:21:49 -03:00
Carlos Alexandro Becker
89ec38d28d
template 2017-07-16 12:35:34 -03:00
Carlos Alexandro Becker
463711f980
homebrew test support 2017-07-16 12:33:41 -03:00
Carlos Alexandro Becker
5151f176cb
allow configuring parallelism via flag 2017-07-15 16:49:52 -03:00
Carlos Alexandro Becker
35278e85f5
cleanup 2017-07-13 22:54:28 -03:00
Carlos Alexandro Becker
fbeeb4533f
Merge remote-tracking branch 'origin/master' into 298 2017-07-13 22:48:31 -03:00
Carlos Alexandro Becker
d4fc32e895
fixed brew tests 2017-07-13 22:46:21 -03:00
Carlos Alexandro Becker
af7e7142f2
fpm fixes 2017-07-13 22:40:44 -03:00
Carlos Alexandro Becker
773e5379fb
more asserts 2017-07-13 22:23:31 -03:00
Carlos Alexandro Becker
a5a809e9b5
ensuring #300 doesnt happen 2017-07-13 22:22:44 -03:00
Carlos Alexandro Becker
738770d5ef
skipped some tests 2017-07-13 20:46:27 -03:00
Carlos Alexandro Becker
cae5d07141
fixed tests 2017-07-13 20:43:12 -03:00
Carlos Alexandro Becker
dc23113c92
fixed archive and brew 2017-07-13 20:22:10 -03:00
Carlos Alexandro Becker
57a177495b
multiple binaries on naked release: fpm working 2017-07-13 19:46:48 -03:00
Jorin Vogel
1b8424b1db
Update contributing guide and fix local tests.
- fpm is required to pass tests.
- apex/log package needs to be available.
- gpgSign git option needs to be disabled for test repo.
  This is an issue when a developer has set gpgSign to true in
  their global .gitconfig file.
2017-07-10 13:50:05 +02:00
Carlos Alexandro Becker
485f71b51a
moving targets to buildtarget package as well 2017-07-09 13:14:35 -03:00
Carlos Alexandro Becker
ca9221a99c
fixes 2017-07-06 23:50:45 -03:00
Carlos Alexandro Becker
86e46fe61d
gometalinter fixes 2017-07-06 20:13:02 -03:00
Carlos Alexandro Becker
2e0e05134d
refactoring buildtarget 2017-07-06 19:49:21 -03:00
Carlos Alexandro Becker
46529e5aa9
organize imports 2017-07-04 22:55:52 -03:00
Carlos Alexandro Becker
c2e05c83b7
rm dist feature 2017-07-04 22:53:50 -03:00
Carlos Alexandro Becker
93e9830ce6
throttling file uploads 2017-07-04 22:00:48 -03:00
Carlos Alexandro Becker
128dfa7749
fixed silly test mistake 2017-07-04 21:47:05 -03:00
Carlos Alexandro Becker
f05d6ca509
Merge remote-tracking branch 'origin/master' into naked-release 2017-07-04 21:29:53 -03:00
Carlos Alexandro Becker
1cdfd16d98
fixed release upload 2017-07-04 21:28:21 -03:00
Carlos Alexandro Becker
c473d89c4e
fixed tests 2017-07-04 09:42:54 -03:00
Carlos Alexandro Becker
5e0c55ac6b
fixed template
closes #276
2017-07-04 09:28:26 -03:00
Carlos Alexandro Becker
02cf45cb7e
more build pipe tests 2017-07-03 01:31:57 -03:00
Carlos Alexandro Becker
2ed2a81854
coverage increased on fpm pipe 2017-07-03 01:25:53 -03:00
Carlos Alexandro Becker
559f678361
coverage increased on brew pipe 2017-07-03 01:24:26 -03:00
Carlos Alexandro Becker
3a4128b60f
fixed build tests 2017-07-03 01:11:46 -03:00
Carlos Alexandro Becker
881b17ede1
fixed tests 2017-07-03 01:08:14 -03:00
Carlos Alexandro Becker
8915f8bbf6
fixes for multiple builds 2017-07-03 00:57:39 -03:00
Carlos Alexandro Becker
827adc83c3
Merge branch 'builds' into naked-release 2017-07-03 00:10:04 -03:00
Carlos Alexandro Becker
6db500f053
Merge branch 'master' into builds 2017-07-03 00:01:57 -03:00
Carlos Alexandro Becker
bb662641f3
fixed unit test 2017-07-02 17:52:29 -03:00
Carlos Alexandro Becker
95dd76d483
improved link to goreleaser 2017-07-02 17:40:21 -03:00
Carlos Alexandro Becker
3b51b44e35
fixed new tests 2017-07-02 12:27:16 -03:00
Carlos Alexandro Becker
425300eb5f
Merge branch 'master' into builds 2017-07-02 12:26:28 -03:00
Carlos Alexandro Becker
bc64deeb09
archive format overrides could break brew formula 2017-07-02 12:02:20 -03:00
Carlos Alexandro Becker
6158285994
project name, templates, readme, etc 2017-07-01 22:42:10 -03:00
Carlos Alexandro Becker
a3c1e2b789
fixed another todo 2017-07-01 22:11:50 -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
aaa1851427
increased fpm coverage 2017-07-01 21:38:37 -03:00
Carlos Alexandro Becker
0410f5bc72
cleaning up 2017-07-01 21:31:55 -03:00
Carlos Alexandro Becker
cc5f80b3a9
added backwards compat to single build 2017-07-01 21:27:30 -03:00
Carlos Alexandro Becker
19e1c8a3a3
checksums tests 2017-07-01 21:14:57 -03:00
Carlos Alexandro Becker
4fa83104d8
defaults tests 2017-07-01 21:13:02 -03:00
Carlos Alexandro Becker
0359e02b8d
brew fixes 2017-07-01 20:59:16 -03:00
Carlos Alexandro Becker
dd56049aba
fixed fpm tests 2017-07-01 13:27:01 -03:00
Carlos Alexandro Becker
67861b6261 Merge branch 'master' into builds 2017-07-01 13:21:25 -03:00
Carlos Alexandro Becker
a9d6f0ab8c
fixed build tests 2017-07-01 13:21:07 -03:00
Carlos Alexandro Becker
bc7eba4860
archive tests fixed 2017-07-01 13:13:44 -03:00
Carlos Alexandro Becker
736d155884
fpm only for linux builds 2017-07-01 13:02:41 -03:00
Carlos Alexandro Becker
40fc46da92
fixes to archiving and fpm 2017-07-01 12:58:48 -03:00
Carlos Alexandro Becker
3c68b894c5
archive pipe fixed 2017-07-01 12:46:08 -03:00