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
7c9e1ee5f6
chore: add nolint to the todo make task
...
So we can also find nolints across the code and fix them.
2017-10-25 15:16:12 -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
415613e806
bump: deps
...
Updated all deps
2017-10-22 11:54:41 -02:00
Carlos Alexandro Becker
76087d53cd
feat: validate changelog config for invalid fields
...
If the user configures the changelog section with an invalid key, show
an error.
2017-10-20 16:22:01 -02:00
Carlos Alexandro Becker
3d6e6cbcf6
chore: sorting goreleaser changelog
...
Asc sort our changelog
2017-10-20 15:54:43 -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
6277ab9ae3
feat: added sorting support to the changelog pipe
...
We can now add:
```yaml
changelog:
sort: asc
```
to group together our commits by prefix or just to sort them...
Closes #284
2017-10-19 20:58:23 -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
87ec4781ee
chore: added a todo task to the Makefile
...
Added a `todo` task in the `Makefile`, copied
from apex/up.
2017-10-19 10:50:49 -02:00
Carlos Alexandro Becker
e9ca883b0b
chore: filter some commits from our changelog
...
Removed docs and merges from our changelogs.
2017-10-18 09:43:18 -02:00
Carlos Alexandro Becker
9dcd8e39bd
chore: added more tests
...
Added a test covering the cases of wrong regexps.
refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
28c16f206c
feat: also support regexp
...
Support for filtering commits with regexp.
Refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
aca23027da
docs: added changelog pipe docs
...
Added the documentation to the new changelog pipe.
Refs #284
2017-10-18 09:19:36 -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
4afd58e49c
feat: added the filter ability to changelog pipe
...
We can now ignore some commits from the changelog by providing the
`changelog.filters.excludes` array of strings in the config
file.
Refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
29a8ae36be
refactor: simplifying code from previous pipe
...
Removed some things that dont make sense anymore,
like log between commits.
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
Carlos Alexandro Becker
b585ac8b0e
chore: removed empty space
2017-10-16 17:18:53 -02:00
Matt Stratton
8f71cf33a0
Merge branch 'master' into mattstratton/add-custom-release-title
2017-10-16 13:57:04 -05:00
Matt Stratton
53771a7dd7
feat: Add ability to specify release name
...
Includes a merge commit.
Additionally comments out cyclo lint test for
pipe run function.
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-16 13:55:57 -05:00
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
Matt Stratton
7d6aabe50e
Remove cyclo test for Pipe Run function for now
...
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:49:00 -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
Bob van Luijt
d6b2606ac2
docs: Add examples for installation
...
It is unclear how to get going with Goreleaser, this might help some new folks.
2017-10-15 17:28:03 -02:00
Thomas Queste
ae6f7c157c
docs: typo in config filename
...
Was `goreleaer.yml`
2017-10-09 08:19:17 -03: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
ffebc52458
Merge branch 'mattstratton/add-custom-release-title' of github.com:mattstratton/goreleaser into mattstratton/add-custom-release-title
...
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
# Conflicts:
# config/config.go
# internal/name/name.go
2017-10-07 05:56:49 -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
Matt Stratton
f823cf2865
feat: Add ability to specify release name
...
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-07 04:31:14 -05:00
jorin
f8ced34079
Merge pull request #390 from goreleaser/prerelease
...
feat: Add prerelease option
2017-10-05 16:19:34 +02: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
eb5ce31b37
Merge pull request #388 from Southclaws/patch-1
...
Update CONTRIBUTING.md
2017-10-05 11:13:54 +02:00
Southclaws
3142961d23
docs: Update CONTRIBUTING.md
...
Fixed a typo with the `go get` path using `github.com`
as the user instead of `goreleaser`.
2017-10-05 09:39:48 +01:00
Carlos Alexandro Becker
5771b06c33
Merge pull request #386 from goreleaser/debug
...
chore: Improved custom release notes logs
2017-10-04 11:20:37 -03:00
Carlos Alexandro Becker
75f57e7244
chore: Improved custom release notes logs
...
Improved the previous log by changing the field notes to file and also
adding a new a debug log with the actual contents of the file.
Refs #385
2017-10-04 11:06:05 -03:00
Carlos Alexandro Becker
1271ae53dd
Merge pull request #383 from goreleaser/go19
...
chore: updated makefile for go 1.9
2017-10-02 14:43:09 -03:00
Carlos Alexandro Becker
03815dcaea
chore: Updated makefile for go 1.9
...
Since go 1.9, `./...` automatically skips vendored depedencies.
2017-10-02 14:24:51 -03:00
Carlos Alexandro Becker
00e5d0f4e1
Merge pull request #382 from goreleaser/dir-wrap
...
feat: Add archive config 'wrap_in_directory'
2017-10-02 14:10:38 -03: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
9562d098b0
Merge pull request #381 from goreleaser/docker-dep
...
docs: Add Docker as dependency in CONTRIBUTING.md
2017-10-02 08:04:44 -03:00
Jorin Vogel
f7a0ba98e4
docs: Add Docker as dependency in CONTRIBUTING.md
...
Docker is also a required dev dependency to make the tests pass.
Also see #379
2017-10-02 12:36:50 +02:00
jorin
a9665b344a
Merge pull request #380 from goreleaser/commit-guide
...
docs: Add commit message guidelines to CONTRIBUTING.md
2017-10-01 21:46:23 +02:00