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

58 Commits

Author SHA1 Message Date
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
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
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
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
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
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
e8da61278f
skipped as an error type 2017-08-20 16:35:52 -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
57a177495b
multiple binaries on naked release: fpm working 2017-07-13 19:46:48 -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
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
7d01a5a8a4
renamed archives to binaries, pointed more changes 2017-07-01 12:30:24 -03:00
Carlos Alexandro Becker
4504cd4527
fixing more errors 2017-06-27 19:36:36 -03:00
Carlos Alexandro Becker
295c7356f1
logs update 2017-06-23 19:47:08 -03:00
Carlos Alexandro Becker
7a955321c4
Merge branch 'master' into naked-release 2017-06-23 19:41:27 -03:00
Carlos Alexandro Becker
bd70d5ef42
improved some logs 2017-06-22 10:47:34 -03:00
Carlos Alexandro Becker
1e9e82d926
apex log 2017-06-22 00:09:14 -03:00
Dominik Schulz
f6abdf3c27 Add missing loop variable capture
Fixes #261
2017-06-19 09:57:56 +02:00
Jorin Vogel
24c50d804b
Use format: binary to skip archive
instead of a separate skip: true option.
2017-06-08 11:41:47 +02:00
Jorin Vogel
454abc9a0a
Add option to skip archive.
See #243.
Upload binaries directly instead of creating archive.
This option, however currently doesn't work together with brew and fpm
since they both require archived artifacts.
2017-06-05 18:04:07 +02:00
Carlos Alexandro Becker
d04efee12d
fixing a bug int the fpm pipe, added more tests 2017-04-22 10:41:58 -03:00
Carlos Alexandro Becker
5b3484b795
make brew and fpm config more alike 2017-04-21 17:02:28 -03:00
Bjørn Erik Pedersen
988cc016ab Add fpm options
This is needed to create a proper debian control file, but will also be used for the .rpm packages.
2017-04-21 11:28:19 +02:00
Carlos Alexandro Becker
3bc428120d
adding more tests and godocs 2017-04-14 15:39:32 -03:00
Carlos Alexandro Becker
7c0e2628a4
fixed old TODO: artifact list on context 2017-04-14 12:07:40 -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
b3fa5cfc19
renamed from binary_name to binary 2017-03-22 21:06:37 -03:00