Improved instructions around creating a release tag authored by Benjamin Titmus's avatar Benjamin Titmus
...@@ -12,7 +12,9 @@ To create a release: ...@@ -12,7 +12,9 @@ To create a release:
1. Go to **Repository > Tags**. Take note of the latest release number (latest tag name). 1. Go to **Repository > Tags**. Take note of the latest release number (latest tag name).
1. Click "New tag". 1. Click "New tag".
1. In the tag name field, enter the next release number. 1. In the tag name field, enter the next release number.
1. Make sure you don't add any "Release notes". The release must be created by the CI scripts, and if you enter anything in "Release notes" at this stage then the automatic creation of the release won't work. You can add a "Message" tied to the tag if you wish.
1. Click "Create tag". 1. Click "Create tag".
1. You can add any release notes you wish by going to **Project overview > Releases** and editing the release after it has been automatically created by CI (about 5 to 10 minutes).
## Deleting old releases ## Deleting old releases
Releases can only be deleted by a maintainer or owner of the project (@Over_score in this case). GitLab will automatically delete the release entry if the corresponding tag is deleted, provided the tag is deleted by a maintainer or owner. For this reason, tags should never be deleted by a developer, only by a maintainer or owner. Releases can only be deleted by a maintainer or owner of the project (@Over_score in this case). GitLab will automatically delete the release entry if the corresponding tag is deleted, provided the tag is deleted by a maintainer or owner. For this reason, tags should never be deleted by a developer, only by a maintainer or owner.
... ...
......