Skip to content

Commit a84e69e

Browse files
committed
Switch direct_asset_url to url, add direct_asset_url
1 parent a0e9c3f commit a84e69e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

SharedProcessors/GitLabReleasesInfoProvider.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@ class GitLabReleasesInfoProvider(Processor):
7070
},
7171
}
7272
output_variables = {
73-
"url": {
73+
"direct_asset_url": {
7474
"description": (
7575
"direct_asset_url matching the `link_regex` and/or `latest` inputs."
7676
)
7777
},
78+
"url": {
79+
"description": ("url matching the `link_regex` and/or `latest` inputs.")
80+
},
7881
"version": {
7982
"description": (
8083
"Version based on the release tag_name. (Strips `v` prefix)"
@@ -132,7 +135,8 @@ def main(self):
132135
release, link = self.get_release_link(
133136
releases, regex=self.env.get("link_regex")
134137
)
135-
self.env["url"] = link.get("direct_asset_url")
138+
self.env["url"] = link.get("url")
139+
self.env["direct_asset_url"] = link.get("direct_asset_url")
136140

137141
# Get the version from the tag name
138142
tag_name = release["tag_name"]

0 commit comments

Comments
 (0)