Commit Graph
1 Commits
Author SHA1 Message Date
Jan TojnarandMarge Bot d46dd23e1c ci: Fix dist tarball name
The release service does not allow `v` prefix in version part of the tarball:
https://gitlab.gnome.org/Infrastructure/openshift-images/gnome-release-service/-/blob/263345eaa9db60dc4a495409298e2b9aff03bc6f/gnome_release_service/gnome_release_system/modules/module_release.py#L79-87

So renaming of the tarball in e028cc5c62
did not help – the pipeline instead started failing with:

    curl: (22) The requested URL returned error: 400{"detail":"Could not parse tarball name: calls-v48.0.tar.xz."}

Since it is not possible to use shell or other replacement mechanisms in `variables`,
let’s obtain the produced dist tarball path in `script` and pass it to `deploy` through `dotenv` artifact:
https://docs.gitlab.com/ci/variables/#pass-an-environment-variable-to-another-job

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/770>
2025-04-04 08:40:39 +00:00