Carlos Alexandro Becker
a0255abec6
fix: prerelease auto with repo set
...
closes #917
2019-01-10 17:09:46 -02:00
Carlos Alexandro Becker
d619efdd94
test: added failing test for #917
2019-01-10 17:08:08 -02:00
Carlos Alexandro Becker
1fdeba7369
chore: added debug log to release
2019-01-10 16:06:13 -02:00
Carlos Alexandro Becker
23df4b562c
fix: support multiple binaries in scoop pipe ( #909 )
...
* fix: support multiple binaries in scoop pipe
* fix: lint
2019-01-05 12:30:26 -02:00
Carlos Alexandro Becker
850205abf1
feat: back-reference build artifacts from archive artifact ( #908 )
2019-01-01 14:40:17 -02:00
Federico G. Schwindt
d10c4f4f07
feat: add custom_block to brew formula generation ( #906 )
...
This allows authors to specify things such as devel, head and more.
See
https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#advanced-formula-tricks
for details.
2018-12-30 00:06:54 -02:00
Kamil Samigullin
2cc473280f
use retry package to repeat uploads ( #905 )
2018-12-29 20:14:05 -02:00
Carlos Alexandro Becker
47f1fd81ea
fix: gofmt
2018-12-28 20:16:16 -02:00
Carlos Alexandro Becker
7255eb7461
Merge remote-tracking branch 'origin/master'
2018-12-28 19:19:02 -02:00
Carlos Alexandro Becker
8e42ab62a5
fix: better retry upload ( #904 )
...
* Revert "fix: retry upload (#900 )"
This reverts commit 6e09a19a83
.
* fix: better upload retry
* fix: fmt
2018-12-28 19:17:40 -02:00
Carlos Alexandro Becker
6fb427e5c8
Revert "fix: retry upload ( #900 )"
...
This reverts commit 6e09a19a83
.
2018-12-28 18:58:11 -02:00
Carlos Alexandro Becker
6e09a19a83
fix: retry upload ( #900 )
...
* fix: retry upload
* fix: goimports
2018-12-23 11:41:36 -02:00
Carlos Alexandro Becker
15d00f2900
fix: pipe name
2018-12-22 19:28:38 -02:00
Carlos Alexandro Becker
bf68277b50
fix: improvements on docker extra_files
2018-12-16 12:34:21 -02:00
Carlos Alexandro Becker
07d9855890
fix: tests
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
14e93c6390
fix: breaking: changed snapshot default name tmpl
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
a69ef61d60
fix: snapshot version handling
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
513473b446
fix: snapcraft: broken permissions
2018-12-12 18:32:22 -02:00
Carlos Alexandro Becker
7060eb8450
chore: small code improvements
2018-12-12 18:24:22 -02:00
Carlos Alexandro Becker
ab3bab15ce
refactor: simplified code
2018-12-04 11:36:51 -02:00
Tom Payne
14c7f06ca2
fix: pass missing arg to log.Warnf ( #886 )
2018-11-30 16:48:49 -02:00
Carlos Alexandro Becker
e7bec044a0
test: ignored err
2018-11-29 16:43:00 -02:00
Felix Gläske
71abba61c3
feat: set github as pre-release if tag has a pre-release indicator ( #871 )
...
* Add check if tag contains indicator for pre release
* update release.md docs
2018-11-29 16:42:14 -02:00
Carlos Alexandro Becker
18efb4a5c2
fix: change defaults order
2018-11-25 18:25:38 -02:00
fifi
e794eaf67f
feat: add custom_require to brew formula generation
...
Due to the linked changes in homebrew deprecating "unused" download
strategies and the suggested workaround of adding a custom
"require_relative" I have added the ability to specify a ruby filename
in the brew specification
My use case is to continue using the GitHubPrivateRepositoryDownloadStrategy
without a deprecation warnings on every brew install.
brew deprecation:
599ecc9b5a (diff-ad9201cdd3b6f948345629ad812cd5bd)
suggested workaround:
https://github.com/Homebrew/brew/issues/5074#issuecomment-429274286
2018-11-23 10:26:06 -02:00
Carlos Alexandro Becker
a17d51c350
test: increased coverage
2018-11-14 09:50:18 -02:00
Carlos Alexandro Becker
18b8be6818
feat: support custom wrap directory
...
closes #728
2018-11-14 09:50:18 -02:00
Carlos Alexandro Becker
ce267acabf
fix: uniq files inside archive
...
refs #836
2018-11-11 19:31:05 -02:00
Carlos Alexandro Becker
7a6de727dd
test: fixed
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
8867356965
chore: remove log
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
2dd00ae7a6
fix: do not allow several archives with the same name
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
a6bef50b0f
fix: archives with windows paths
2018-11-08 09:52:07 -02:00
Carlos Alexandro Becker
6c349c1759
fix: linter fixes
2018-11-08 09:40:23 -02:00
Carlos Alexandro Becker
aef63d2fcb
chore: brew: better join impl
2018-11-07 14:15:07 -02:00
Carlos Alexandro Becker
a273a978f2
fix: brew formula path on windows
2018-11-06 11:24:57 -02:00
Carlos Alexandro Becker
67482044d2
fix: defaults when release is disabled
...
closes #861
2018-11-03 15:37:51 -03:00
Carlos Alexandro Becker
498782e524
chore: log output
2018-11-03 15:25:01 -03:00
Carlos Alexandro Becker
e1258d381b
test: fix a docker test relying on /tmp
2018-10-30 23:50:55 -03:00
Carlos Alexandro Becker
58de70c29e
chore: do not need to get output
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
8348301b3e
fix: gpg: debug
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
19cde27da9
test: gpg: fixed local execution
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
53360bc58f
chore: log
2018-10-27 13:38:24 -03:00
Carlos Alexandro Becker
57d02172bf
fix: brew and scoop should be last to publish
...
refs #854
2018-10-27 13:37:07 -03:00
Garcia, Julio C
2da661bc77
fix: improve log output #845
...
Fixed missunderstanding
2018-10-27 13:36:58 -03:00
Garcia, Julio C
0f6d8daa05
fix: improve log output #845
...
Removed the "creating" prefixes.
2018-10-27 13:36:58 -03:00
Carlos Alexandro Becker
6f312b993b
chore: move defaulter to pkg, so godownloader can use it
2018-10-26 11:17:12 -03:00
Carlos Alexandro Becker
3010023b3a
fix: docker: build several tags
...
avoid needing to call docker tag later
2018-10-25 19:39:39 -03:00
Jonathan Lloyd
254a1cfab8
fix: Bring back docker release notes
...
Docker image names were not being added to the release notes
because the Github release step was happening earlier in the
pipeline than the docker release itself (so no artifacts had
been added to the context). This patch re-orders the pipeline
and adds a comment to warn against this happening again.
Fixes : #846
2018-10-25 10:13:33 -03:00
Carlos Alexandro Becker
84fdac7f2b
chore: improved log
2018-10-20 17:54:41 -03:00
Carlos Alexandro Becker
75c999ac73
chore: added a TODO
2018-10-20 17:47:55 -03:00
Carlos Alexandro Becker
f7268a0979
fix: deploy goreleases to snap store
2018-10-20 17:41:31 -03:00
Carlos Alexandro Becker
32d9440dff
test: added more tests
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
6310b8c12d
fix: lint
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
3d87275c09
fix: allow to publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
04ee42caed
feat: publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
fac4b621b0
feat: publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
24c6401341
test: skip publish
2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
76b18fb554
chore: fix log
2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
21084567fc
refactor: docker push moved to publish
2018-10-20 14:42:46 -03:00
Albert Salim
b8d0f29099
chore: go fmt
2018-10-20 13:15:15 -03:00
Albert Salim
b688e1f28c
feat: Add support image templates with backward compatibility
...
Docker pipe supports either image templates or image with tag templates.
Image template must be configured, no default is provided.
If image name is still used, provide default for tag templates,
for backward compatibility.
2018-10-20 13:15:15 -03:00
Albert Salim
5af006f415
refactor: Simplify docker test
...
Remove unnecessary fields in `TestRunPipe` test cases
2018-10-20 13:15:15 -03:00
Albert Salim
64ce2d5bd6
chore: Remove unused function
2018-10-20 13:15:15 -03:00
Albert Salim
ae2e6ddc0e
feat: Add support image templates
...
Docker config takes a list of image templates as image specification.
Existing config with image and tag templates are still accepted,
but will display deprecation notice.
Either image templates or image + tag templates is supported,
but not both at the same time.
This will also support publishing to multiple docker registries (#832 ).
Deprecated:
- `docker.image`
- `docker.tag_templates`
2018-10-20 13:15:15 -03:00
Albert Salim
ca2aafa367
feat: Add support for publishing to additional docker registries
...
Created a list of registries based on the docker image name and
additional registries. Image is then tagged with all permutations
of registry and tags.
See #832
2018-10-20 13:15:15 -03:00
Carlos Alexandro Becker
2bade44c73
refactor: artifactory: pipe -> publisher
2018-10-16 23:01:52 -03:00
Carlos Alexandro Becker
ad11351902
refactor: fix tests
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
089731afc4
refactor: (s3/http): pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
0b04e454fc
test: fix
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
dd81fec3dd
refactor: release: pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
6d6d6ece8f
test: add more tests
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
23eb2c7756
fix: publish skip handling
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
c449328428
fix: improved publish output
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
5474d1ede7
wip: publish
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
71aba28e18
chore: more logs
2018-10-10 13:27:53 -03:00
Carlos Alexandro Becker
9628eb8f89
chore: improved log output
2018-10-10 13:27:53 -03:00
Alan Scherger
6c79a6c51a
fix: be explicit when we query git for tags
...
When Jenkins is configured with 'Check out to matching local branch' the branch and tag name will conflict.
If we use explicit references to tags, then life is much better.
This patch also replaces our manual 'tag or not' boolean with a regex to check if the return is a SHA1.
If it is not a SHA1, it is assumed to be a tag. Hopefully this helps with future maintainability.
2018-10-06 22:21:46 -03:00
Alan Scherger
f6a7fb308c
feat: image names can ontain template variables
...
This now allows us to use things like the ProjectName as variables
in our docker image name. This is especially helpful when trying to
make the `.goreleaser.yml` as generic as possible.
2018-10-05 13:43:19 -03:00
Carlos Alexandro Becker
ba77abe07c
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
6a035b83e9
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
3c72ad1081
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71171ba222
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71df84f829
refactor: added publish pipe
2018-10-05 09:42:32 -03:00
Carlos Alexandro Becker
5c63f88290
test: add more tests
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
748d97ef22
feat: git remote url in the template engine
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
af99acf244
feat: add new template fields
2018-10-04 09:23:06 -03:00
Albert Salim
94f88bac84
feat: Add templating support for docker build-flags
...
I enhanced `BuildFlagTemplates` field in Docker image config to accept
templates. Build flags are tested by checking for images created with
labels applied through templates.
See #813
2018-10-03 10:51:01 -03:00
Albert Salim
c773e57165
feat: Add support for docker build-flags
...
I added `BuildFlags` field to Docker image config. Docker pipe is
updated to append build flags to the `docker build` command.
Build flags are not validated, leaving it Docker to error
when given an unknown flag.
See #813
2018-10-03 10:51:01 -03:00
Carlos Alexandro Becker
652645b3bf
feat: artifactory checksum header ( #772 )
...
* feat: artifactory checksum header
* fix: merge fixes
2018-10-01 16:52:16 -03:00
Carlos Alexandro Becker
aded99f621
feat: scoop: accept name/project name ( #811 )
...
* feat: scoop: accept name/project name
* fix: added todo to fix an issue
2018-09-30 11:04:32 -03:00
Carlos Alexandro Becker
39de856eb4
refactor: better package organization
2018-09-12 14:18:01 -03:00