Carlos Alexandro Becker
30a7867604
test: fixed archive tests
2017-12-17 18:40:19 -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
e9b276923a
refactor: fixed docker and archive pipes
2017-12-17 16:46:45 -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
44d01ceccb
fix: removed uneeded docs
...
We use fmt.Stringer now
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
8535ed3811
test: archive tests
...
Added tests for archive defaulter
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
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
d85a9001ec
removing all assert.New because vet shadow complains about this now
...
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -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
57753af876
testlib
2017-07-23 16:27:46 -03:00
Carlos Alexandro Becker
35278e85f5
cleanup
2017-07-13 22:54:28 -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
Carlos Alexandro Becker
2e0e05134d
refactoring buildtarget
2017-07-06 19:49:21 -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
a3c1e2b789
fixed another todo
2017-07-01 22:11:50 -03:00
Carlos Alexandro Becker
bc7eba4860
archive tests fixed
2017-07-01 13:13:44 -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
Carlos Alexandro Becker
7d01a5a8a4
renamed archives to binaries, pointed more changes
2017-07-01 12:30:24 -03:00
Carlos Alexandro Becker
a8f1645ea9
fixing archiving and brew
2017-06-27 20:06:45 -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
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
ee4cbb25b8
fixes
2017-06-18 18:35:26 -03:00
Carlos Alexandro Becker
6519681ac2
using goreleaser/archive
2017-06-18 18:30:39 -03: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
415e4e0334
Log name of skipped archive binary. Make tests consistent.
2017-06-05 19:21:33 +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
19465718b1
imports
2017-05-14 11:04:23 -03:00
Carlos Alexandro Becker
d4182e3a69
moving tar and zip to internal folder
2017-05-13 18:09:42 -03:00
Carlos Alexandro Becker
ad175e7fd3
using mattn glob
2017-05-11 12:43:04 -03:00
Carlos Alexandro Becker
5eac3fd7b1
dont add folders to archive
2017-05-11 09:37:12 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files
2017-05-11 00:05:51 -03:00
Carlos Alexandro Becker
5b36fbdd0c
added more tar tests
2017-04-22 11:07:13 -03:00
Carlos Alexandro Becker
26727a6f7f
added more archive pipe test
2017-04-22 10:29:53 -03:00
Carlos Alexandro Becker
7d8b698664
added more tests
2017-04-21 16:03:36 -03:00
Carlos Alexandro Becker
b44e8029c4
added archiving format override support
2017-04-21 16:01:19 -03:00
Carlos Alexandro Becker
6b11beb4ee
added archive tests
2017-04-15 15:26:05 -03:00