Resolve "Use `direct_asset_path` instead of `filepath` when calling Releases or Release Links APIs"
requested to merge 165-use-direct_asset_path-instead-of-filepath-when-calling-releases-or-release-links-apis into master
What does this MR do and why?
The filepath
field for the asset links has been deprecated and will be
aliased to direct_asset_path
in GitLab 17.0.
This change set alises the filepath
field and
at the same time introduces the direct_asset_path
field for which the
former is an alias. The value of the new direct_asset_path
field
is the same as it was for the filepath
.
If the filepath
and direct_asset_path
fields are specified, the
direct_asset_path
takes precedence over the filepath
field.
Users of the filepath
field are advised to rename all occurrences of
it to direct_asset_path
in their JSON provided as asset link value.
Closes #165 (closed)
Checklist
-
I added tests -
Green pipeline -
Assign to reviewer /label ~"devops::release" ~"group::release" GitLab Release CLI Category:Release Orchestration golang
Edited by Timo Furrer