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

88 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
36c49b1306
fix: separated defaulter for project name
this was first broken in 5830759958
and hotfixed in 093291f3ad

I believe this is a better fix
2018-03-12 08:42:31 -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 956eeafdfe
closes #601
2018-03-08 17:16:49 -03:00
Carlos Alexandro Becker
42427782ac
feat: nfpm support (#543)
* feat: nfpm support

* fix: rpm

* fix: rpm: bindir

* fix: nfpm tests and coverage

* chore: fixed nfpm version

* chore: deliver goreleaser itself with nfpm

* fix: add nfpm to the pipeline

* chore: bump nfpm

* bump: nfpm

* docs: nfpm and deprecation notices

* chore: nfpm v0.3.1
2018-02-17 12:16:06 -02:00
Carlos Alexandro Becker
9dfb8547d4 fix: global default for github download url 2018-02-15 00:34:12 -02:00
Southclaws
c8d36813cb add: Scoop manifest support
Finished the Scoop.sh manifest generator for Windows releases!

See #387
2018-02-12 18:36:48 -02:00
Carlos Alexandro Becker
5bc64413de feat: load github token from file 2018-02-09 10:03:24 -02:00
Carlos Alexandro Becker
2af7169484
feat: defaulter on snap pipe 2017-12-26 21:45:53 -02:00
Frank Schroeder
7b95e1e342
feat: add artifact sign pipeline
This patch adds a generic artifact signing pipeline.

Fixes #166
2017-12-13 23:02:19 +01:00
Andy Grunwald
5358724f0b Merge branch 'master' into artifactory-support
* master:
  fix: lint warnings
  test: fixed tests
  test: added tests to effective config pipe
  feat: write actual config to dist
2017-12-10 16:55:55 +01:00
Carlos Alexandro Becker
f3fcb48983 test: added tests to effective config pipe
Also renamed the pipe from finalconfig to effectiveconfig
2017-12-10 13:02:48 -02:00
Carlos Alexandro Becker
06ddedf12a feat: write actual config to dist
Writes the actual config file (with defaults
merged, etc) into the dist folder.

Can be useful for debug purposes.
2017-12-10 13:02:48 -02:00
Andy Grunwald
d875dd0dd5 feat: Implemented upload mode for Artifactory pipeline
The Artifactory pipeline now supports two different
types of upload modes:

- binary: Only the raw binaries will be uploaded
- archive: All artifacts that are generated will be uploaded
2017-12-09 20:54:04 +01:00
Carlos Alexandro Becker
29d9ae5878 style: improved goreleaser output
- Added paddings
- Added total time taken by the release

Closes #441
2017-12-08 21:49:45 -02:00
Carlos Alexandro Becker
b77acd2cc7 test: improving tests
Moved tests from defaults to build pipe, as it
doesnt make sense to be there.
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
a3a10fab37 test: release tests
Added tests for release 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
Carlos Alexandro Becker
8e6133c70c feat: allow override dist folder
Allow configuring the dist folder via
config file.

Closes #421
2017-11-26 22:20:40 -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
Matt Stratton
8f71cf33a0 Merge branch 'master' into mattstratton/add-custom-release-title 2017-10-16 13:57:04 -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
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
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
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
Carlos Alexandro Becker
e798a8dc3a Merge branch 'master' into lint 2017-10-01 09:46:14 -03:00
Jorin Vogel
a5bf473f70
Add config field to overwrite brew commit author
Default author name and email can be set in config file.
Close #292.
2017-09-30 21:18:09 +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
ccd55bfc7d
defaults tests 2017-09-12 00:49:02 -03:00
Carlos Alexandro Becker
60901d31f3
improvements 2017-09-11 23:42:36 -03:00
Carlos Alexandro Becker
c541d99c58
checksums name template support 2017-08-27 20:45:33 -03:00
Carlos Alexandro Becker
6158285994
project name, templates, readme, etc 2017-07-01 22:42:10 -03:00
Carlos Alexandro Becker
b93061570c
fixing one todo 2017-07-01 22:06:40 -03:00
Carlos Alexandro Becker
b41b2f7bd8
cleaning up 2017-07-01 21:52:04 -03:00
Carlos Alexandro Becker
cc5f80b3a9
added backwards compat to single build 2017-07-01 21:27:30 -03:00
Carlos Alexandro Becker
4fa83104d8
defaults tests 2017-07-01 21:13:02 -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
ed5ccf9bdb
wip multiple builds 2017-06-27 19:20:08 -03:00
Carlos Alexandro Becker
cdafdc785a
added version to default name_template
refs #239
2017-05-19 23:37:51 -03:00
Carlos Alexandro Becker
683e6e85f2
deleting replacements 2017-05-18 13:08:11 -03:00
Carlos Alexandro Becker
777441c45e
breaking: do not default to uname values
check discussion on #236

closes #236
2017-05-18 12:44:55 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files 2017-05-11 00:05:51 -03:00
Carlos Alexandro Becker
72a32f0475
improved defaults cyclo complexity 2017-05-01 10:02:23 -03:00
Horst Gutmann
6d1d9dcd8e Add snapshot builds 2017-05-01 14:17:31 +02:00
Carlos Alexandro Becker
0525e9014c
added goarch option to build section 2017-04-24 14:27:21 -03:00
Carlos Alexandro Becker
26727a6f7f
added more archive pipe test 2017-04-22 10:29:53 -03:00