1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/internal/pipe
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
..
archive fix gomips support (#1331) 2020-02-05 22:08:18 -03:00
artifactory feat: remove singular archive config (#1282) 2019-12-29 15:02:15 -03:00
before fix: all envs allowed on build template (#992) 2019-04-09 09:15:05 -03:00
blob feat: added blob.region and blob.disableSSL (#1279) 2019-12-27 14:18:41 -03:00
brew feat: remove deprecated brew config (#1313) 2020-01-26 18:36:01 -03:00
build feat: specify (sub)directory with go code when building (#1273) 2020-01-13 14:23:00 -03:00
changelog feat: use CI environment variables to figure out tag (#1327) 2020-01-31 15:38:56 -03:00
checksums refactor: pointer to artifact (#1110) 2019-08-12 17:44:48 -03:00
defaults feat: remove deprecated brew config (#1313) 2020-01-26 18:36:01 -03:00
dist chore: small code improvements 2018-12-12 18:24:22 -02:00
docker fix: do not set default builds 2020-01-08 09:38:14 -03:00
effectiveconfig refactor: better package organization 2018-09-12 14:18:01 -03:00
env feat: gitea release support (#1114) 2019-08-26 09:31:38 +02:00
git feat: use CI environment variables to figure out tag (#1327) 2020-01-31 15:38:56 -03:00
nfpm fix gomips support (#1331) 2020-02-05 22:08:18 -03:00
project refactor: better package organization 2018-09-12 14:18:01 -03:00
publish feat: remove deprecated s3 pipe (#1291) 2020-01-26 12:25:27 -03:00
release feat(release): add artifact filter (by id) to release pipe (#1203) 2019-10-19 16:01:11 -03:00
scoop refactor: lint issues, style 2020-02-05 22:10:16 -03:00
semver chore(deps): bump all (#1174) 2019-10-06 12:39:53 -03:00
sign feat(sign): id, concurrent map (#1321) 2020-01-30 00:21:45 -03:00
snapcraft fix gomips support (#1331) 2020-02-05 22:08:18 -03:00
snapshot feat: change default snapshot version template (#1248) 2019-11-15 18:23:25 -03:00
upload feat: Add the ability to place artifact name (#1338) 2020-02-10 22:59:57 -03:00
pipe_test.go refactor: better package organization 2018-09-12 14:18:01 -03:00
pipe.go refactor: better package organization 2018-09-12 14:18:01 -03:00