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
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
a751da5909
test: fixed tests
2017-12-29 17:51:02 -02:00
Carlos Alexandro Becker
a84148c620
feat: make goreleaser timeoutable
2017-12-29 17:07:06 -02:00
Carlos Alexandro Becker
b61aec7a1c
remove: TODOs that dont need to be fixed
...
Closss #490
2017-12-29 15:10:09 -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
fcbe6a46ed
Merge branch 'master' into template
2017-12-27 09:58:42 -02:00
Carlos Alexandro Becker
ba68011b55
fix: env
2017-12-27 09:32:24 -02:00
Carlos Alexandro Becker
3d93a2dfce
test: improved fpm test
2017-12-26 22:18:01 -02:00
Carlos Alexandro Becker
a7a290fb63
fix: use gnu-tar on macOS
...
closes #409
2017-12-26 22:16:34 -02:00
Carlos Alexandro Becker
5dba7fbfdf
feat: name_template support for fpm packages
...
closes #409
2017-12-26 21:36:17 -02:00
Carlos Alexandro Becker
5ff07c38ea
fix: cleaning up
2017-12-17 22:12:25 -02:00
Carlos Alexandro Becker
df6076e406
test: fixed fpm pipe tests
2017-12-17 21:31:34 -02:00
Carlos Alexandro Becker
32fbebcc58
refactor: small fixes here and there
2017-12-17 18:01:58 -02:00
Carlos Alexandro Becker
906c8b08e3
refactor: fixed fpm pipe
2017-12-17 17:11:08 -02:00
Carlos Alexandro Becker
2dfdb4cd61
test: fpm 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
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
752c0711e1
chore: enable debug in fpm TestRunPipe
...
So we can know why it failed if it fails for whatever reason
2017-11-08 21:00:09 -02:00
Carlos Alexandro Becker
3064e11b31
feat: improved fpm output
...
Only enable fpm's debug mode when goreleaser is in debug as well.
2017-11-08 21:00:09 -02:00
Joseph Wright
d9f13a3b12
refactor: set default value of bindir
in defaults pipe
...
Rather than using a conditional to check if `bindir` has been set,
use the defaults pipe to set it to `/usr/local/bin` if it has not
been set in the config file.
2017-11-08 19:11:10 -02:00
Joseph Wright
5193680e76
feat: Allow overriding fpm destination for binaries
...
Some packagers may want to put binaries in a location other than
/usr/local/bin. This allows one to override the destination for
binaries when using fpm, using the `fpm.bindir` config key.
2017-11-08 19:11:10 -02:00
Carlos Alexandro Becker
11fee22a2e
fix: a new workdir for each fpm instance
...
This may avoid running into
https://github.com/jordansissel/fpm/issues/1423
2017-10-23 09:51:30 -02:00
Carlos Alexandro Becker
3234cb98da
feat: make fpm respect --parallelism
...
It was firing unlimited fpm processes until now.
2017-10-23 09:51:30 -02:00
Carlos Alexandro Becker
df0cf14912
feat: re-added parallelism on fpm pipe
...
It was removed on commit ff42024
due to a possible bug on fpm
2017-10-23 09:51:30 -02:00
Carlos Alexandro Becker
ff42024602
fix: fpm fails randomly
...
FPM would randomly fail to build deb and rpm packages. It apparently
happens because fpm (or some tool it uses) shares state between runs
(possibly by overriding files that are going inside the archive).
The error `file changed as we read it` was happening, which is a `tar`
error.
I don't know how to fix this, but, in order to make goreleaser more
stable, I'll disable the concurrency here for now.
closes #333
2017-10-19 21:45:34 -02:00
Carlos Alexandro Becker
7506f0ff37
chore: passing down --debug to fpm
...
This shall helps in the cases fpm is failing for an unknown reason.
refs #333
2017-10-19 11:06:29 -02: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
64ffdd4a5c
enabled more linters and fixed them
2017-09-14 21:19:56 -03:00
Carlos Alexandro Becker
71eab55b42
fixed arm .deb
2017-08-27 13:18:23 -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
dbd24b3e7c
fixed tests
2017-08-20 15:56:26 -03:00
Carlos Alexandro Becker
70e042e973
building rpm packages as well
2017-08-18 19:46:40 -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
Carlos Alexandro Becker
af7e7142f2
fpm fixes
2017-07-13 22:40:44 -03:00
Carlos Alexandro Becker
57a177495b
multiple binaries on naked release: fpm working
2017-07-13 19:46:48 -03:00
Carlos Alexandro Becker
2ed2a81854
coverage increased on fpm pipe
2017-07-03 01:25:53 -03:00
Carlos Alexandro Becker
827adc83c3
Merge branch 'builds' into naked-release
2017-07-03 00:10:04 -03:00
Carlos Alexandro Becker
6158285994
project name, templates, readme, etc
2017-07-01 22:42:10 -03:00
Carlos Alexandro Becker
aaa1851427
increased fpm coverage
2017-07-01 21:38:37 -03:00
Carlos Alexandro Becker
dd56049aba
fixed fpm tests
2017-07-01 13:27:01 -03:00
Carlos Alexandro Becker
736d155884
fpm only for linux builds
2017-07-01 13:02:41 -03:00