0

I have a project that uses Automake as the build system and it is hosted on GitLab. When I create a release, GitLab automatically adds a tarball (with git archive). Automake creates so called distributions with make dist that generates the configure script and other files. With the distribution the user has to run the configure script and does not need any Autotool.

How can I add the distribution to the GitLab release for download?

I don't see a way to upload it, I can just add URLs to other online resources.

1 Answer 1

0

The main purpose of GitLab is a Git hosting, not a generic file hosting. They expect you to upload your release archives somewhere on your own site and then you can link them on a "Release" page.

However, they provide additional services which can help you:

  • For example, they have "packages registry": you can host your binary package there if it is in supported package format. See supported package managers list.
  • Alternatively, they have some storage for so called "build artifacts" produced by their CI/CD system. You can configure CI/CD build job on your project which will build your project with make dist and produced files will be saved as "build artifacts". Then you can link them on "Release" page.

Sure, some other Git-based services, like Github, provide you dedicated storage for releases. Using Github you can upload files directly on "Release" page.

answered May 16, 2024 at 17:10
Sign up to request clarification or add additional context in comments.

3 Comments

Build artifacts get deleted after some time. They expire.
@user6581465 then you need to host files yourself as they expect it. We will not discuss "how to trick Gitlab to host my files", right?
I was hoping GitLab is self-contained. To be honest, it is the fault of Automake.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.