Carlos Alexandro Becker
58d8ac62ac
fix: accept empty GITHUB_TOKEN if release is disabled
2018-05-08 21:34:33 -03:00
Carlos Alexandro Becker
aefe2fec89
chore: added trailing empty line to changelog
2018-05-06 09:31:55 -03:00
Carlos Alexandro Becker
16c4d096a5
feat: save changelog to dist
...
This feature will save a CHANGELOG.md into the dist
folder.
This file can then be included in docker images and etc.
closes #655
2018-05-01 20:54:16 -07:00
Carlos Alexandro Becker
ad118b0f7c
feat: added Commit to docker name_template
2018-04-30 20:46:45 -07:00
Carlos Alexandro Becker
23c44c016e
chore: go fmt
2018-04-24 22:33:40 -07:00
Carlos Alexandro Becker
41031a42d3
fix: covered default with tests
2018-04-24 21:07:45 -07:00
Carlos Alexandro Becker
890832095a
feat: allow to skip the release pipe entirely
2018-04-24 21:07:45 -07:00
Benjamin Pineau
edb77adc24
feat: Support per-format NFPM overrides
...
Support per-format NFPM overrides (as recently implemented in NFPM),
plus a pair or Goreleaser specific overrides, for "Replacements"
and "NameTemplate" (to address #640 ).
This keeps backward compatibility with existing config files:
settings at the root of the nfpm config section will still work as
previously (which is also useful to define common/shared settings
that we don't want to override anyway).
2018-04-22 14:49:43 -07:00
Carlos Alexandro Becker
5a3e3e5ab8
chore: update nfpm ( #647 )
2018-04-19 00:01:51 -03:00
tympanix
d3fe7c3f33
feat: nfpm maintainer scripts
...
Resolves #635
2018-04-18 21:00:12 -03:00
Carlos Alexandro Becker
d701179975
fix: always print before hooks output when in debug
2018-04-10 14:35:45 -03:00
Carlos Alexandro Becker
d8e8af13b5
fix: lint
2018-04-05 22:16:21 -03:00
Carlos Alexandro Becker
66019fc509
fix: added nfpm validations
2018-04-05 22:16:21 -03:00
Eli Young
c56e2dff2f
fix: Only put actual caveats in Homebrew formulae
...
If the config file has no entry for caveats, the Caveats field of the
struct defaults to the empty string. When strings.Split() is called on
the empty string, it returns []string{""}. This is considered truthy by
the template processor, resulting in a caveats section consisting of a
blank line.
2018-04-05 20:36:26 -03:00
Eli Young
75afc6bbd7
fix: Use squiggly heredocs in Homebrew formulae
...
Homebrew now warns that <<-EOS.undent is deprecated.
2018-04-05 20:36:26 -03:00
Carlos Alexandro Becker
d6436729c7
fix: fixed formatting
2018-04-04 19:18:07 -03:00
Carlos Alexandro Becker
ecce86f121
fix: homebrew spacing in the formula
2018-04-04 19:18:07 -03:00
Carlos Alexandro Becker
ff867876b4
feat: using archive url to generate brew from source
2018-04-04 19:18:07 -03:00
Dominik Schulz
3c1f856ddf
fix: improve homebrew formula
...
This commit improves the homebrew formula pipeline step to support
more customizations.
2018-04-04 19:18:07 -03:00
Carlos Alexandro Becker
fe85f656e2
style: ran make fmt
2018-04-03 21:37:16 -03:00
Carlos Alexandro Becker
cac92e8734
fix: simplified before hook code
2018-04-03 21:35:48 -03:00
Dominik Schulz
cbdd90ddad
feat: Add cleanup pipeline
2018-04-03 21:24:18 -03:00
Carlos Alexandro Becker
07b2699346
fix: empty line
2018-04-01 15:40:14 -03:00
Carlos Alexandro Becker
3b5a1fd8ce
feat: removed goreleaser footer on release notes
...
closes #619
2018-04-01 15:40:14 -03:00
Carlos Alexandro Becker
3a6cbd1b7e
fix: fixed tests and bump nfpm again
2018-03-27 22:19:17 -03:00
Carlos Alexandro Becker
b5818a7225
feat: skip_push on docker to match draft releases
2018-03-25 13:30:49 -03:00
Erno Aapa
79a48eae7b
fix: Fix Brew formula class name when using custom name
...
The #597 added support for customizing the final Brew formula name.
The generated *.rb file still were using the project name as
class name and installing with custom name didn't work.
Fixed the issue by using the `name` field as an input for
building the class name, which defaults to project name
if no name given.
2018-03-25 13:28:54 -03:00
Jan Seidl
187efd9c83
fix: archive.format_overrides section supports binary format correctly ( #611 )
2018-03-16 22:52:04 -03:00
Carlos Alexandro Becker
36c49b1306
fix: separated defaulter for project name
...
this was first broken in 58307599588f8d9177c62151d5a4e77f83196fe7
and hotfixed in 093291f3ad176f23463103baa3bb254bf96a6773
I believe this is a better fix
2018-03-12 08:42:31 -03:00
Carlos Alexandro Becker
093291f3ad
fix: blank project name in some cases
...
closes #607
2018-03-12 08:30:38 -03:00
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
959daeca4d
style: moving Piper interface close to where its used
2018-03-08 18:46:15 -03:00
Carlos Alexandro Becker
c7d3e02ce6
style: moving Defaulter interface close to where its used
2018-03-08 18:36:36 -03:00
Carlos Alexandro Becker
5830759958
fix: project name on brew formula
...
refs 956eeafdfebf2b035d0e0b07967b707d0e57eebe
closes #601
2018-03-08 17:16:49 -03:00
Carlos Alexandro Becker
3db9913e1c
feat: --skip-validate is back ( #600 )
2018-03-08 08:42:33 -03:00
Carlos Alexandro Becker
956eeafdfe
fix: improved PR #597
2018-03-07 19:21:01 -03:00
Erno Aapa
960b23af0c
feat: Custom brew tap name ( #597 )
...
Add optional Name field to Brew configuration to allow overriding
the name of the final Brew tap recipe.
closes #595
2018-03-07 19:16:38 -03:00
Carlos Alexandro Becker
7cd13c040f
fix: scoop download url ( #594 )
...
closes #593
2018-03-05 20:55:02 -03:00
Dominik Nakamura
cc6dd458af
feat: Configuration to use short git hashes ( #581 )
...
Add a git configuration to control to either use long commit hashes
(current default) or use the short version with only the first 7
characters of the hash.
See #578
2018-03-02 09:20:27 -03:00
Carlos Alexandro Becker
ac7800699f
fix: running goreleaser against repo with no commits ( #580 )
...
* fix: running goreleaser against repo with no commits
* test: added more asserts
2018-03-01 20:42:47 -03:00
Carlos Alexandro Becker
7778a49499
feat: --skip-publish is back ( #587 )
...
* feat: --skip-publish is back
* style: using previously resolved flag
* test: docker test
* test: main coverage
* test: fixed brew tests
2018-03-01 01:12:58 -03:00
Carlos Alexandro Becker
84e0a2b175
docs: fmt
2018-02-27 10:29:33 -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
fdc032ec15
refactor: unifying snapshot with skip-validate and skip-publish ( #575 )
...
* refactor: removed goreleaserlib: moved all to main
* refactor: wip: snapshot
* fix: more pipes
* fix: more pipes
* fix: git tests
* fix: some other validate and publish usages
* fix: git dirty check when snapshoting
* fix: nfpm: use tag instead of version
* test: docker: print docker run output if registry fails
2018-02-24 17:59:08 -03:00
Carlos Alexandro Becker
2bb509f5a8
chore: enabling -race -failfast and -coverpkg ( #576 )
...
* chore: enabling -race -failfast and -coverpkg
* fix: race condition in tests
2018-02-24 17:31:07 -03:00
Carlos Alexandro Becker
f2bd64f146
fix: guess git repo from url with custom ssh configs ( #573 )
...
* fix: guess git repo from url with custom ssh configs
or github enterprise
* style: removed unnecessary if statement
2018-02-20 18:21:20 -03:00
Carlos Alexandro Becker
b6299472fc
fix: git log without colors ( #572 )
2018-02-20 14:23:45 -03:00
Carlos Alexandro Becker
d8fe6462d4
feat: nfpm: suggests and recommends ( #568 )
...
refs https://github.com/goreleaser/nfpm/pull/5
2018-02-18 19:36:52 -03:00
Carlos Alexandro Becker
4139509f43
feat: nfpm: support config files ( #566 )
...
* feat: nfpm: support config files
* bump: nfpm
2018-02-17 19:30:26 -02:00