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
76cfa61407
refactor: remove fpm in favor of nfpm ( #567 )
...
* refactor: remove fpm
* refactor: remove fpm
* refactor: .travis.yml
* chore: more cleanup
* chore: fix deploy
2018-02-26 18:49:58 -03:00
Carlos Alexandro Becker
2ea883e0c4
* feat: allow snapshots on a folder that is not a git repo ( #579 )
...
* feat: allow running against a folder that is not a git repo
* test: cover clean err
* test: release: increase coverage
* test: fix race condition
2018-02-25 20:17:45 -03:00
Carlos Alexandro Becker
0694b46bcc
fix: better deprecation notices ( #561 )
...
* fix: better deprecation notices
* test: covered deprecate with tests
* docs: improved docs
* docs: improved docs
* chore: organize imports
* style: code improve
2018-02-17 13:43:29 -02:00
Carlos Alexandro Becker
66338de1bb
style: removed elses, improved test code
2018-02-16 15:03:37 -02:00
Southclaws
0a37305745
fix: Silent failure caused by branching logic
...
Changed the branching after the `GetContents` call to *first* check for
a non-404 error (internal failure of some sort) and then proceed to
check the status to determine whether to `CreateFile` or `UpdateFile`.
2018-02-11 12:09:46 -02:00
Southclaws
f8a7ac602e
update: Added some missing changes
...
I forgot these!
2018-02-09 14:20:39 -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
Harmen
002d88b514
fix: Catch all stat errors
2018-02-01 13:27:21 +01:00
Carlos Alexandro Becker
20f18cb80d
Merge remote-tracking branch 'origin/master' into build
2018-01-28 13:02:16 -02:00
Carlos Alexandro Becker
f7be04a239
fix: git: if exit is 0, ignore stderr
2018-01-28 12:03:46 -02:00
Carlos Alexandro Becker
2d54332bee
Merge branch 'master' into build
2018-01-28 11:46:19 -02:00
Carlos Alexandro Becker
a89e3ace00
chore: added todo
2018-01-28 11:46:16 -02:00
Carlos Alexandro Becker
4da660d790
test: improve tests as per review
2018-01-28 11:42:03 -02:00
Carlos Alexandro Becker
8d37d45288
chore: added more logs to git
...
refs #529
2018-01-27 15:50:44 -02:00
Carlos Alexandro Becker
96a431c6a8
fix: several review suggestions
2018-01-26 21:54:08 -02:00
Carlos Alexandro Becker
fc7f33be98
style: renamed Default to WithDefaults
2018-01-26 19:35:12 -02:00
Carlos Alexandro Becker
a2d8087661
style: avoid bad abstractions
2018-01-26 19:26:28 -02:00
Carlos Alexandro Becker
9897a001bd
test: golang builder: 100% covered
2018-01-26 19:11:40 -02:00
Carlos Alexandro Becker
0bac9cb7d8
Merge remote-tracking branch 'origin/master' into build
2018-01-26 18:49:26 -02:00
Carlos Alexandro Becker
a309eae83b
fix: updated deps
...
closes #527
2018-01-26 09:37:10 -02:00
Carlos Alexandro Becker
2f69359209
test: skip for now
2018-01-23 15:47:04 -02:00
Carlos Alexandro Becker
9416dcc751
refactor: just started fixing tests
2018-01-22 01:10:17 -02:00
Carlos Alexandro Becker
4e6982a524
refactor: allow builders to have custom defaults
2018-01-21 23:37:39 -02:00
Carlos Alexandro Becker
42a8f0b194
refactor: adios build target
2018-01-21 22:44:06 -02:00
Carlos Alexandro Becker
d954f8a6df
wip
2018-01-21 18:54:33 -02:00
Carlos Alexandro Becker
a457ae6e17
feat: support multiple build systems
2018-01-21 14:31:08 -02:00
Andy Grunwald
825f19bb55
fix: Typo in buildtarget
...
The buildtarget contained a typo. This fixes it.
2018-01-20 18:30:33 +01:00
Carlos Alexandro Becker
4d71720b67
feat: skip formula upload
2018-01-12 19:24:58 -02:00
Carlos Alexandro Becker
9021160b11
fix: break if env not available
...
closes #467
2018-01-02 19:01:55 -02:00
Carlos Alexandro Becker
7910863ecd
refactor: improved name template
...
Should keep the previous behavior of having binary == nametemplate
2017-12-29 11:47:13 -02:00
Carlos Alexandro Becker
876e5fbe38
style: renamed template pkg to filenametemplate
2017-12-29 11:27:15 -02:00
Carlos Alexandro Becker
9b0441cbe4
docs: godoc of template pkg
2017-12-26 22:51:28 -02:00
Carlos Alexandro Becker
915e404629
test: fixed broken template test
2017-12-26 22:20:48 -02:00
Carlos Alexandro Becker
4ce13bc7c3
refactor: name templates for archive pipe
2017-12-26 21:19:58 -02:00
Carlos Alexandro Becker
fc4d9363bc
refactor: name templates
2017-12-26 21:10:37 -02:00
Carlos Alexandro Becker
4f3ed001da
fix: import
2017-12-20 10:42:18 -02:00
Carlos Alexandro Becker
f210a28ff9
fix: avoiding double escapes
2017-12-20 09:55:36 -02:00
Carlos Alexandro Becker
65d3c7ad7f
test: testing log output as well
2017-12-20 09:55:18 -02:00
Carlos Alexandro Becker
449ec3f49b
fix: re-added .Binary to supported fields
...
Also added a deprecation warning and tests,
Closes #476
2017-12-20 09:27:32 -02:00
Carlos Alexandro Becker
3a1f737747
refactor: move archiveformat code inside archive pipe
...
It was being used only in that pipe anyway.
2017-12-18 21:15:32 -02:00
Carlos Alexandro Becker
ca0b59633c
Revert "fix: dont compile without go:generate"
...
This reverts commit 6135c9f2bd
.
2017-12-18 09:49:49 -02:00
Carlos Alexandro Becker
6135c9f2bd
fix: dont compile without go:generate
2017-12-18 09:29:58 -02:00
Carlos Alexandro Becker
530feac44a
fix: improved artifact add logs
2017-12-18 09:19:02 -02:00
Carlos Alexandro Becker
10c6df73c0
chore: more cleanup
2017-12-18 09:00:19 -02:00
Carlos Alexandro Becker
245e888359
chore: cleanup
2017-12-18 00:53:48 -02:00
Carlos Alexandro Becker
aceb41b0b2
fix: cleaning up
2017-12-17 22:31:27 -02:00
Carlos Alexandro Becker
f9dbfb5d70
fix: cleaning up
2017-12-17 22:28:24 -02:00
Carlos Alexandro Becker
32fbebcc58
refactor: small fixes here and there
2017-12-17 18:01:58 -02:00
Carlos Alexandro Becker
24f186a63c
refactor: fixed sign and snap pipe
2017-12-17 17:25:04 -02:00
Carlos Alexandro Becker
906c8b08e3
refactor: fixed fpm pipe
2017-12-17 17:11:08 -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
574b2942b3
refactor: refactored artifactory pipe
2017-12-17 16:10:40 -02:00
Carlos Alexandro Becker
d83b420f39
refactor: changed code on archive pipe
2017-12-17 15:50:09 -02:00
Carlos Alexandro Becker
b9cc820e1d
refactor: changed code on build pipe
2017-12-17 15:24:49 -02:00
Carlos Alexandro Becker
f09a5396fb
refactor: new artifact package
...
It contains the needed code to refactor the rest of the app
2017-12-17 15:14:21 -02:00
Carlos Alexandro Becker
eb19e2b5d9
refactor: rm internal/name pkg
...
Each pipe now does its own templating
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
2cc10c3cc8
chore: fixed/ignore lint issues
...
GAS started to break on file/folder permissions
and executing things with variables.
closes #422
2017-11-26 20:40:07 -02:00
Carlos Alexandro Becker
1d7b0e072b
chore: added more test
...
Added a test to cover the git.Clean function..
Refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
87d269dc45
refactor: turned changelog generation into a pipe
...
I turned myself into a pipe morty!
PipeRick!!!
refs #284
2017-10-18 09:19:36 -02:00
Matt Stratton
8f71cf33a0
Merge branch 'master' into mattstratton/add-custom-release-title
2017-10-16 13:57:04 -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
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
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
f1f04d809d
fixed for detached heads
2017-09-26 19:02:18 -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
4fefd7608e
merge fixes
2017-09-24 14:25:21 -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
64ffdd4a5c
enabled more linters and fixed them
2017-09-14 21:19:56 -03:00
Carlos Alexandro Becker
c541d99c58
checksums name template support
2017-08-27 20:45:33 -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
d7efa64075
removed duplicated code
2017-08-19 12:47:04 -03:00
Anthony Fok
183d378cab
Allow linux s390x builds
2017-07-26 01:10:51 -06: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
Jorin Vogel
77f366ba57
Make build ignore fields additive. Fixes #293 .
2017-07-10 13:44:07 +02:00
Carlos Alexandro Becker
f527803284
pretty target string
2017-07-09 13:16:38 -03:00
Carlos Alexandro Becker
485f71b51a
moving targets to buildtarget package as well
2017-07-09 13:14:35 -03:00
Carlos Alexandro Becker
2e0e05134d
refactoring buildtarget
2017-07-06 19:49:21 -03:00
Carlos Alexandro Becker
183c385e86
Merge branch 'master' into naked-release
2017-07-03 20:07:48 -03:00
Carlos Alexandro Becker
e8bdba5752
Merge pull request #272 from goreleaser/goreleaserbot
...
using a valid email to publish formulas
2017-07-03 20:04:40 -03:00
Carlos Alexandro Becker
74d3f69289
godocs
2017-07-03 01:01:27 -03:00
Carlos Alexandro Becker
624948faa6
test coverage
2017-07-03 01:00:43 -03:00
Carlos Alexandro Becker
8915f8bbf6
fixes for multiple builds
2017-07-03 00:57:39 -03:00
Carlos Alexandro Becker
601475c0af
using a valid email to publish formulas
2017-07-02 17:35:29 -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
67861b6261
Merge branch 'master' into builds
2017-07-01 13:21:25 -03:00
Carlos Alexandro Becker
d286dffd52
docs
2017-07-01 12:15:45 -03:00
Carlos Alexandro Becker
059942124a
moved naming logic to another pkg
2017-07-01 12:14:43 -03:00
Carlos Alexandro Becker
28cf506e9e
Update ext.go
2017-06-30 14:21:02 -03:00
Carlos Alexandro Becker
ed5ccf9bdb
wip multiple builds
2017-06-27 19:20:08 -03:00
Carlos Alexandro Becker
21571bef84
Merge remote-tracking branch 'origin/master' into archive
2017-06-22 11:04:21 -03:00
Carlos Alexandro Becker
bd70d5ef42
improved some logs
2017-06-22 10:47:34 -03:00
Carlos Alexandro Becker
b8ff8e9b12
apex log
2017-06-22 10:37:32 -03:00
Carlos Alexandro Becker
1e9e82d926
apex log
2017-06-22 00:09:14 -03:00
Carlos Alexandro Becker
6519681ac2
using goreleaser/archive
2017-06-18 18:30:39 -03:00
Carlos Alexandro Becker
d4182e3a69
moving tar and zip to internal folder
2017-05-13 18:09:42 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files
2017-05-11 00:05:51 -03:00