1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/pipeline/artifactory
Andy Grunwald 37bc09f2bc fix: Use HTTP error if upload to Artifactory failes
In a former commit we respected the error of the Close()
call for a HTTP response. The fix was to introduce named
return values (e.g. err for error).
The problem: We defered the resp.Close() via
err = resp.Close()
This had the effect of always overwrite the real error
that happen when the HTTP call failes (due to checkResponse func).
2017-12-02 21:29:59 +01:00
..
artifactory_test.go feat: Added basic support to push binaries into Artifactory 2017-12-02 20:26:55 +01:00
artifactory.go fix: Use HTTP error if upload to Artifactory failes 2017-12-02 21:29:59 +01:00