Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create releases in GitLab?

Tags:

git

gitlab

I had created a private repository which I then changed to public repository. However, I could not find any way to release. Is it possible to create releases in GitLab? If so, how are they done?

like image 759
Tom Kurushingal Avatar asked Apr 08 '15 17:04

Tom Kurushingal


1 Answers

To create a release on the GitLab website:

  1. Go to your repository
  2. In the menu choose Repository > Tags
  3. Add a tag for the version of your app. For example, v1.3.1.
  4. Add a message (title) about the release. For example, Release 1.3.1.
  5. Add a note that describes the details of the release. (Not optional. Adding a note to a tag is what makes it a release.)
  6. Click Create tag.

enter image description here

The release will now show up under Project > Releases. Read more at the GitLab documentation. GitLab recommends that you use the Release API now, but their documentation is hard to follow. It would be the preferred method for automating everything with CI/CD, though.

like image 153
Suragch Avatar answered Sep 18 '22 10:09

Suragch