1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/internal
Bao Nguyen dd35f28d51
feat: Add the ability to place artifact name (#1338)
This commit exposes the Artifact name as a template variable so that the
artifact name can be moved around within the `targetURL`. This enable users to
manipulate the target URL as desired in order to pass in PUT parameters that
doesn't always following the currently defined `targetURL` which append the
artifact name to the end.

This is needed to address[1] by enable the ability to add metadata to
Artifactory REST API [2] as the URL parameters, which need to be after the
artifact names.

It's important that this is backward compatible with existing release
configurations so this is an opt-in option, if it's omitted or not set, no
changes to exist configurations. When enabled with `CustomArtifactName=True` as
part of HTTP Upload options `Artifact.Name` will no longer be appended to the
end of TargetURL.

[1]:https://github.com/goreleaser/goreleaser/issues/1336
[2]:https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Example-DeployinganArtifact
2020-02-10 22:59:57 -03:00
..
artifact fix gomips support (#1331) 2020-02-05 22:08:18 -03:00
builders/golang feat: support to gomips (#1288) 2020-01-26 14:36:00 -03:00
client fix: update code.gitea.io/sdk/gitea (#1220) 2019-10-28 22:33:01 -03:00
deprecate test: disable colors on tests 2018-10-27 13:34:16 -03:00
git fix: parse commit hash of GPG signed commit (#953) 2019-02-06 17:14:04 -02:00
http feat: Add the ability to place artifact name (#1338) 2020-02-10 22:59:57 -03:00
ids fix: better duplicate ID message 2019-07-27 10:55:56 -03:00
linux fix gomips support (#1331) 2020-02-05 22:08:18 -03:00
logext feat: moved sign log to info and stream output (#1276) 2019-12-27 11:55:15 -03:00
middleware refactor/fix: improved CLI (#937) 2019-01-22 01:56:16 -02:00
pipe feat: Add the ability to place artifact name (#1338) 2020-02-10 22:59:57 -03:00
pipeline feat: add gitlab for releases (#1038) 2019-06-29 11:02:40 -03:00
semerrgroup fix: skip aware semerrgroup (#1176) 2019-10-06 14:58:33 -03:00
static fix: go mod tidy everywhere 2019-08-27 14:12:19 -03:00
testlib fix: parse commit hash of GPG signed commit (#953) 2019-02-06 17:14:04 -02:00
tmpl fix gomips support (#1331) 2020-02-05 22:08:18 -03:00