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

411 Commits

Author SHA1 Message Date
Ludovic Fernandez
5102c8a29a fix: update code.gitea.io/sdk/gitea (#1220)
* fix: invalid pseudo version for github.com/go-macaron/cors

* chore: use go1.13

* chore: update code.gitea.io/sdk/gitea

* go mod tidy
2019-10-28 22:33:01 -03:00
Carlos Alexandro Becker
449ed95bbe
Revert "fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit (#1164)"
This reverts commit 2403a40979.
2019-10-21 09:09:11 -03:00
Carlos Alexandro Becker
4e71977e34
Revert "feat: git diff when dirty (#1178)"
This reverts commit 39d07c375d.
2019-10-20 11:10:31 -03:00
Deavon M. McCaffery
93259b0683 feat(release): add artifact filter (by id) to release pipe (#1203)
* feat(release): add artifact filter (by id) to release pipe

* add `ids: string[]` to release configuration
* add support for filtering artifacts by id within the release pipe

* update docs for release
2019-10-19 16:01:11 -03:00
Carlos Alexandro Becker
2cc40fad1e
fix: update nfpm
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-12 16:42:54 -03:00
Carlos Alexandro Becker
21843b5a90
ci: fix linter issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-09 16:07:51 -03:00
Andrii Soldatenko
2403a40979 fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit (#1164)
* fix strategy of getting latest tag

* add git -c "versionsort.suffix=-"

* fix test

* fix tests

* add more details about change
2019-10-07 13:58:19 -03:00
Carlos Alexandro Becker
39d07c375d
feat: git diff when dirty (#1178)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:56:53 -03:00
Carlos Alexandro Becker
622254a7df
test: increase github client test coverage (#1179)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:56:34 -03:00
Carlos Alexandro Becker
423308443c
fix: reject docker.files as . or inside dist (#1175)
* fix: reject docker.files as . or inside dist

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

* fix: deprecated method

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:09:51 -03:00
Carlos Alexandro Becker
792b883f59
fix: docker: skip push skips other builds (#1177)
* fix: skip aware semerrgroup

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

* fix: docker: skip push skips other builds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 15:53:38 -03:00
Carlos Alexandro Becker
d338cf7285
fix: skip aware semerrgroup (#1176)
* fix: skip aware semerrgroup

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

* fix: skip aware semerrgroup

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 14:58:33 -03:00
Carlos Alexandro Becker
50235f2974
chore(deps): bump all (#1174)
* chore(deps): bump

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

* chore(deps): bump semver

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

* chore(deps): bump cors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 12:39:53 -03:00
Pierre Fersing
e6c8682738 Use Version instead of Git tag to for .deb/.rpm (#1157) 2019-10-05 14:58:46 -03:00
matt maier
9b5df03c09 feat: support additional GOOS/GOARCH targets (#1162)
* feat: support illumos amd64 target

* feat: support other missing targets
2019-10-01 16:25:13 -03:00
Carlos Alexandro Becker
9d5f36f21b
feat: wasm support (#1159)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-01 16:00:44 -03:00
Manuel Vogel
d1e97a3fd8 fix: brew multiple archives on one tap (#1153)
* fix: tmp simplify

* refactor: brew tests for mutiple archives per os

* feat: adds keep latest goarm version and uses it for brew

* chore: adapts golden brew test file for arm version

* test: brew for multiple arm versions

* refactor(test): brew for multiple arms

* docs: updates homebrew

* Revert "fix: tmp simplify"

This reverts commit 946a2fa1b1.

* feat: adds goarm version to brew

* fix: filter chain for one goarm version

* chore: removes unused keep latest arm version filter

* refactor: brew tests

* fix: removes test for keep latest arm version

* docs: updates homebrew for goarm property

* chore: updaes err msg for brew multiple archives same os
2019-09-26 21:46:05 -03:00
Carlos Alexandro Becker
eb1a122199
fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-23 18:15:57 -03:00
Carlos Alexandro Becker
da04434939
docs: added TODO 2019-09-09 09:42:11 -03:00
Dawid Dziurla
ccbd79250e fix: actually support arm (#1140) 2019-09-09 09:34:52 -03:00
Luit van Drongelen
705f66d258 fix: copy into DockerImage Artifact (#1134)
Since #1110 the artifacts are passed by reference, causing the previous
code to edit the Artifact in place, _and_ add it to the list.

Fixes: #1133
2019-09-03 13:27:16 -03:00
Carlos Alexandro Becker
c2918e4eec
fix: improve error msg
closes  #1103

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:29:24 -03:00
Carlos Alexandro Becker
7cb8d622f5
fix: race condition on brew pipe (#1121)
fixes #1120

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:27:04 -03:00
Manuel Vogel
2da118a296 fix brew and scoop for disabled release (#1128)
* fix: mod tidy

* fix: skips brew pipe if release is disabled

* fix: skips scoop pipe if release is disabled

* fix: mod tidy
2019-08-28 20:34:09 -03:00
Carlos Alexandro Becker
d82565fb24
fix: go mod tidy everywhere
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-27 14:12:19 -03:00
dtluna
eb40d8682b feat: gitea release support (#1114)
* adds gitea release support
* closes #1106
2019-08-26 09:31:38 +02: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
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
Carlos Alexandro Becker
36b190490f
test: fix race
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-09 11:05:07 -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
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
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
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
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
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
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
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
f656e68ef9
fix: non-templateable field as default build.id (#1060)
* fix: non-templateable field as default build.id

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

* test: added test for build.id

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

* test: fixed test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 08:52:10 -03:00
C123R
ce5ade64c1 fix: blob provider authentication issues for default aws mechanism (#1061)
* fix: blob provider authentication issues for default aws mechanism

* remove commented code

* docs: update the authentication doc

* fix: linter issues
2019-06-28 08:51:19 -03:00