Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
989bf8e5
Commit
989bf8e5
authored
1 year ago
by
Zubin
Committed by
Marge Bot
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: Ensure we use the correct bindist name for the test artifact when generating
release ghcup metadata Fixes
#24268
parent
8b340bc7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
+7
-1
7 additions, 1 deletion
.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
with
7 additions
and
1 deletion
.gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
+
7
−
1
View file @
989bf8e5
...
...
@@ -141,8 +141,14 @@ def mk_one_metadata(release_mode, version, job_map, artifact):
# In --release-mode, the URL in the metadata needs to point into the downloads folder
# rather then the pipeline.
if
release_mode
:
# the test artifact is bundled with the source artifact, so it doesn't have its own job name
# So we must manually set the name of the bindist location
if
artifact
==
test_artifact
:
bindist_name
=
"
testsuite
"
else
bindist_name
=
fetch_gitlab
.
job_triple
(
artifact
.
job_name
)
final_url
=
release_base
.
format
(
version
=
version
,
bindistName
=
urllib
.
parse
.
quote_plus
(
f
"
{
fetch_gitlab
.
job_triple
(
artifact
.
job
_name
)
}
.tar.xz
"
))
,
bindistName
=
urllib
.
parse
.
quote_plus
(
f
"
{
bindist
_name
}
.tar.xz
"
))
else
:
final_url
=
url
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment