We want to create Moodle plugins which need custom zip-file names and a custom top-level directory.
|ZIP-file top-level directory||
How can we download CI/CD ZIP-files from Gitlab via cURL with correct filenames?
What version are you on?
- GitLab Community Edition v16.3.0
Are you using self-managed or GitLab.com?
What troubleshooting steps have you already taken?
- Release → wrong ZIP file name and wrong top-level directory.
- Artifacts → wget and cURL cannot resolve filename from headers.
- zip-command in .gitlab-ci.yml + Generic Package Repository → wget and cURL cannot resolve filename from headers.
Can you link to any docs or other resources so we know where you have been?
Predefined variables reference | GitLab
`.gitlab-ci.yml` keyword reference | GitLab
Releases | GitLab
Job artifacts | GitLab
GitLab Generic Packages Repository | GitLab