1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/internal/client
Matt Palmer bf4359017b
feat: Use GitLab Direct Asset Links (#2219)
* feat: Use GitLab Direct Asset Links

Implement the use of Direct Asset Links when uploading artifacts to a GitLab release

* fix: Remove ArtifactUploadHash

As GitLab support for direct asset linking exists, remove ArtifactUploadHash due to it no longer being required

* test: fix unit tests for gitlab urls

* fix: Use artifact name during GitLab upload

file.Name() included the path to the file, which isn't needed and breaks other areas such as homebrew releases

* docs: Require GitLab version v12.9+

Due to newly introduced dependency on direct asset linking
2021-05-17 17:33:04 +00:00
..
client_test.go feat: upload brew tap to gitea (#1547) 2020-11-21 10:36:29 -03:00
client.go chore(deps): bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#1882) 2020-11-10 11:15:03 -03:00
config.go feat: support custom tokens in Homebrew & Scoop (#1650) 2020-07-06 17:12:41 -03:00
gitea_test.go chore: gofumpt & lint (#2190) 2021-04-25 14:20:49 -03:00
gitea.go feat: upload brew tap to gitea (#1547) 2020-11-21 10:36:29 -03:00
github_test.go chore: gofumpt & lint (#2190) 2021-04-25 14:20:49 -03:00
github.go chore: gofumpt & lint (#2190) 2021-04-25 14:20:49 -03:00
gitlab_test.go feat: Use GitLab Direct Asset Links (#2219) 2021-05-17 17:33:04 +00:00
gitlab.go feat: Use GitLab Direct Asset Links (#2219) 2021-05-17 17:33:04 +00:00