1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

2125 Commits

Author SHA1 Message Date
Olivier Bourdon
dc29e85b50 Fix for issue #1126: bzr required for some go modules (#1127) 2019-08-26 10:37:57 -03:00
dtluna
eb40d8682b feat: gitea release support (#1114)
* adds gitea release support
* closes #1106
2019-08-26 09:31:38 +02:00
Carlos Alexandro Becker
0847b30afa
docs: remove blob from index
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-19 10:59:49 -03:00
Manuel Vogel
54b2d0de25 docs: supported gitlab versions (#1116)
* chore: updates to latest gitlab dep version

* update gitlab version in bug report template

* updates docs for gitlab version on releases

* runs mod tidy
2019-08-14 10:07:59 -03:00
Grachev Mikhail
1080215876 fix: artifact fields not available to flags (#1118) 2019-08-14 10:07:00 -03:00
Manuel Vogel
e92bbe32ce feat: full gitlab support for brew and scoop (#1084)
* makes context tokentype a public var

* passes artifacts object into client upload function. extracts gitlab upload hash from url

* adds gitlab url to brew config

* build brew formula depending on token type

* fixes client for release tests

* fixes exiting brew tests

* fixes scoop test with dummy client adaption

* uses new artifact upload hash

* fixes brew usage

* updates gitlab createFile for brew

* fixes logging for non-existing file in gitlab logging

* fix: gitlab createFile

* fix: removes encoding from gitlab create and update file opts

* fix: gitlab upload and artifact set upload hash

* fix: linter

* changed artifact item to a pointer in ctx

* docs: updates homebrew

* feat: enables scoop for gitlab release

* fix: scoop panic for pointer access

* chore: rename formula build func for brew

* chore: brew removes comments

* fix: brew tests

* test: updates brew tests

* docs: updates homebrew

* test: for token type not implemented for brew

* tests: for multiple linux builds

* fix: build artifacts are pointer in scoop

* test: for scoop and gitlab

* test: for artifacts set upload hash

* adds missing files after adaption

* chore: removes and clarifies comments

* fix: moves artifact upload hash to extra map

* adds comment why we initialize the extra map
2019-08-13 15:28:03 -03:00
Carlos Alexandro Becker
23e275e946
fix: update config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-13 13:48:53 -03:00
Grachev Mikhail
de5676e833 feat: support arm for linuxbrew (#1113) 2019-08-13 13:37:10 -03:00
Grachev Mikhail
4100f65d71 test: add error handling (#1111)
closes #1047
2019-08-13 10:28:03 -03:00
Grachev Mikhail
7a2b332554 clean: remove unused code (#1112) 2019-08-13 10:24:17 -03:00
Carlos Alexandro Becker
b477ffa095
refactor: pointer to artifact (#1110)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-12 17:44:48 -03:00
exfly@gper
9c675218ad &base always not nil (#1105) 2019-08-10 10:35:20 -03:00
Navie Narula
b01bcabe96 docs: clarify shallow clone behavior (#1102)
* Clarify shallow clone behavior

* Update www/content/ci.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2019-08-09 11:27:55 -03:00
Carlos Alexandro Becker
36b190490f
test: fix race
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-09 11:05:07 -03:00
Carlos Alexandro Becker
7b84a2ccd7
fix: init broken on #1096
closes #1107

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-08 18:10:26 -03:00
Carlos Alexandro Becker
ab0e755a71
Revert "ci: remove gocenter for now" (#1101)
This reverts commit a10c5525bc.
2019-08-05 14:58:18 -03:00
Thomas Manville
953e55a629 fix: honor order of functions in semerrgroup w/ parallelism == 1 (#1100)
* Honor order of functions in semerrgroup

* Separate implementation for parallel vs. serial

* Remove lock around serialGroup

* Short circuit when err != nil

* Simplify error logic
2019-08-05 08:36:14 -03:00
Carlos Alexandro Becker
516c348f6e
clean: remove deprecated docker options (#1098)
* clean: remove deprecated docker options

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* ci: gocenter is slowwww

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* clean: remove uneeded test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* Revert "ci: gocenter is slowwww"

This reverts commit 7e4b1eb244.
2019-08-02 21:03:54 -03:00
Carlos Alexandro Becker
7cab12cf74
fix: close config file (#1099)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 18:20:59 -03:00
Carlos Alexandro Becker
a10c5525bc
ci: remove gocenter for now
its failing on travis for some reason

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 17:49:08 -03:00
Carlos Alexandro Becker
ba0e472247
feat: add goreleaser check (#1096)
* feat: add goreleaser check

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: added to deprecations.md

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: added to bug.md

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:37:50 -03:00
Carlos Alexandro Becker
844f95a2d0
fix: pluralize blob in the config file (#1095)
* fix: pluralize blob in the config file

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:17:38 -03:00
Dinko Korunic
7871c58ac2 fix: if resp is nil avoid checking resp.StatusCode in Gitlab client (#1092) (#1093) 2019-08-01 08:26:53 -03:00
Carlos Alexandro Becker
8286402e3e
fix: better duplicate ID message
refs #1090

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-27 10:55:56 -03:00
Carlos Alexandro Becker
853b991ecc
docs: projects using goreleaser
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-27 10:45:59 -03:00
Carlos Alexandro Becker
5c16574c8c
feat: multiple sign (#1088)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-21 18:46:46 -03:00
Carlos Alexandro Becker
04f17669cc
feat(snap): allow previous in review process (#1070)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-20 18:31:04 -03:00
Carlos Alexandro Becker
954638d5c3
fix: set bottle unneeded (#1089)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-20 14:27:25 -03:00
Carlos Alexandro Becker
636f607053
docs: improve issue templates
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-20 11:32:46 -03:00
Simon Prochazka
f6e5c4eed5 fix: ldflags need to be a single string to apply (#1086)
- fixes a case where ldflags are set as array in config yaml, this causes only last one to apply
2019-07-17 17:59:07 -03:00
Kei Arima
b3fa5cf1fd docs: fix typo in deprecations doc (#1085) 2019-07-17 16:41:18 -03:00
Manuel Vogel
31e27e918d fixes env usage description for docker images (#1083) 2019-07-16 18:10:45 -03:00
Kei Arima
ce9b2c96d0 fix: breaking: use artifact.Name for the blob key instead of artifact.Path (#1082) 2019-07-16 18:08:46 -03:00
Carlos Alexandro Becker
0aa2538e34
chore: go mod tidy verbose
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-15 17:12:36 -03:00
Simon Prochazka
797dc69458 chore: fix go-mod-tidy silent failure (#1080)
- due to the `||` go-mod-tidy check will fail silently
2019-07-15 17:11:12 -03:00
Roman Kravchik
018d37cf38 Fix opencollective links in README (#1077)
* Fix opencollective links in README

* Update README.md
2019-07-12 14:40:01 -03:00
Carlos Alexandro Becker
4541fd9f20
feat: blob kms support (#1056)
* feat: blob kms support

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-12 10:10:22 -03:00
Simon Prochazka
00cba17696 chore: check for unnecessary packages during CI (#1075)
- to prevent need for manual adjustments such as in https://github.com/goreleaser/goreleaser/commit/c338cfb
2019-07-09 11:37:18 -03:00
Thomas Gosteli
249657eb0b fix(nfpm): propagate epoch config to nfpm (#1076) 2019-07-09 09:58:21 -03:00
Florian Heidenreich
38e536e470 Fixed token required if release is disabled #1073 (#1074) 2019-07-08 13:38:02 -03:00
Carlos Alexandro Becker
9d418755dd
chore: add derek
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-07 12:07:21 -03:00
Carlos Alexandro Becker
a0de4bbb3c
Revert "ci: use xenial instead of trusty (#1064)"
This reverts commit 6fecaf97e8.
2019-07-07 11:54:33 -03:00
Simon Prochazka
aaa39e98c9 Improve formatting of drone section in CI guides (#1069) 2019-07-06 17:09:22 -03:00
Simon Prochazka
0eb99a404e Update CI for Drone 1.0 (#1068) 2019-07-05 11:21:46 -03:00
Simon Prochazka
aec878ffa9 Update tutorials.md (#1065) 2019-07-05 09:43:45 -03:00
Carlos Alexandro Becker
6fecaf97e8
ci: use xenial instead of trusty (#1064)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 16:18:11 -03:00
Carlos Alexandro Becker
56c0cf0699
feat: update nfpm (#1063)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 12:26:01 -03:00
Carlos Alexandro Becker
c338cfb9a1
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 11:07:07 -03:00
Manuel Vogel
eb7ba2a294 feat: add gitlab for releases (#1038)
* outlines gitlab client integration

* makes client parameter more explicit

* adds gitlab url to config

* changes releaseID to string to adapt to gitlab

* updates to latest gitlab client lib 0.18

* fixes copy paster in gitlab upload func

* fixes gitlab typo in config

* adds gitlab token to env and context

* release now uses the client factory method

* skips brew pipe if it is not a github release

* add github tokentype to publish tests

* skips scoop pipe if it is not a github release

* corrects brew skip msg

* adds gitlab token to main test

* adds gitlab to release docs

* validates config and errors accordingly

* adapt release pipe name to include gitlab

* fixes gitlab client after testing

* moves not-configured brew and scoop pipe checks as first check

* adds more debug to gitlab client

* adapts changelog generation for gitlab markdown

* adds debug log for gitlab changelog

* env needs to run before changelog pipe

* moves gitlab default download url to default pipe

* moves multiple releases check to from config to release pipe

* release differs now for github and gitlab

* adds debug gitlab release update msgs

* moves env pipe as second after before because it determines the token type other pipes depend on

* adaptes error check on gitlab release creation

* Revert "adaptes error check on gitlab release creation"

This reverts commit 032024571c.

* simplifies gitlab client logic. removes comments

* skips tls verification for gitlab client if specified in config

* updates the docs

* adds clarification that brew and scoop are not supported if it is a gitlab release

* fixes copy paster in release.md

* adds missing blob pipe in defaults and publish due to missing in merge

* updates comment in gitlab client
2019-06-29 11:02:40 -03:00
Carlos Alexandro Becker
0a8478bf19
docs: lint with misspell
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 10:13:56 -03:00