debian-mirror-gitlab/doc/user/project/releases/index.md

458 lines
18 KiB
Markdown
Raw Normal View History

2019-10-12 21:52:04 +05:30
---
type: reference, howto
2020-05-24 23:13:21 +05:30
stage: Release
group: Release Management
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
2019-10-12 21:52:04 +05:30
---
2019-02-15 15:39:39 +05:30
# Releases
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/41766) in GitLab 11.7.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
To introduce a checkpoint in your source code history, you can assign a
[Git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) at the moment of release.
However, in most cases, your users need more than just the raw source code.
They need compiled objects or other assets output by your CI/CD system.
A GitLab *Release* is a snapshot of the source, build output, artifacts, and other metadata
2019-02-15 15:39:39 +05:30
associated with a released version of your code.
2020-07-28 23:09:34 +05:30
You can create a GitLab release on any branch. When you create a release:
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
- GitLab automatically archives source code and associates it with the release.
- GitLab automatically creates a JSON file that lists everything in the release,
so you can compare and audit releases. This file is called [release evidence](#release-evidence).
- You can add release notes and a message for the tag associated with the release.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
After you create a release, you can [associate milestones with it](#associate-milestones-with-a-release),
and attach [release assets](#release-assets), like runbooks or packages.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
## View releases
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/36667) in GitLab 12.8.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
To view a list of releases:
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
- Go to **Project overview > Releases**, or
- On the project's overview page, if at least one release exists, click the number of releases.
![Number of Releases](img/releases_count_v13_2.png "Incremental counter of Releases")
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
- On public projects, this number is visible to all users.
- On private projects, this number is visible to users with Reporter
[permissions](../../permissions.md#project-members-permissions) or higher.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
## Create a release
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/32812) in GitLab 12.9. Releases can be created directly in the GitLab UI.
2019-02-15 15:39:39 +05:30
NOTE: **Note:**
2020-07-28 23:09:34 +05:30
Only users with Developer permissions or higher can create releases.
Read more about [Release permissions](../../../user/permissions.md#project-members-permissions).
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
You can create a release in the user interface, or by using the
[Releases API](../../../api/releases/index.md#create-a-release).
We recommend using the API to add release notes as one of the last steps in your CI/CD release pipeline.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
To create a new release through the GitLab UI:
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
1. Navigate to **Project overview > Releases** and click the **New release** button.
1. In the [**Tag name**](#tag-name) box, enter a name.
1. In the **Create from** list, select the branch or enter a tag or commit SHA.
1. In the **Message** box, enter a message associated with the tag.
1. Optionally, in the [**Release notes**](#release-notes-description)
field, enter the release's description. You can use Markdown and drag and drop files to this field.
- If you leave this field empty, only a tag will be created.
- If you populate it, both a tag and a release will be created.
1. Click **Create tag**.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
If you created a release, you can view it at **Project overview > Releases**.
If you created a tag, you can view it at **Repository > Tags**.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
You can now edit the release to [add milestones](#associate-milestones-with-a-release)
and [release assets](#release-assets).
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
### Schedule a future release
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/38105) in GitLab 12.1.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
You can create a release ahead of time by using the [Releases API](../../../api/releases/index.md#upcoming-releases).
When you set a future `released_at` date, an **Upcoming Release** badge is displayed next to the
release tag. When the `released_at` date and time has passed, the badge is automatically removed.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
![An upcoming release](img/upcoming_release_v12_7.png)
2020-06-23 00:09:42 +05:30
2020-07-28 23:09:34 +05:30
## Edit a release
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/26016) in GitLab 12.6. Asset link editing was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/9427) in GitLab 12.10.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
NOTE: **Note:**
Only users with Developer permissions or higher can edit releases.
Read more about [Release permissions](../../../user/permissions.md#project-members-permissions).
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
To edit the details of a release:
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
1. Navigate to **Project overview > Releases**.
1. In the top-right corner of the release you want to modify, click **Edit this release** (the pencil icon).
1. On the **Edit Release** page, change the release's details.
1. Click **Save changes**.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
You can edit the release title, notes, associated milestones, and asset links.
To change other release information, such as the tag or release date, use the
[Releases API](../../../api/releases/index.md#update-a-release).
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
## Add release notes to Git tags
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
If you have an existing Git tag, you can add release notes to it.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
You can do this in the user interface, or by using the [Releases API](../../../api/releases/index.md).
We recommend using the API to add release notes as one of the last steps in your CI/CD release pipeline.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
In the interface, to add release notes to a new Git tag:
1. Navigate to your project's **Repository > Tags**.
1. Click **New tag**.
1. In the **Release notes** field, enter the release's description.
You can use Markdown and drag and drop files to this field.
1. Click **Create tag**.
In the interface, to add release notes to an existing Git tag:
1. Navigate to your project's **Repository > Tags**.
1. Click **Edit release notes** (the pencil icon).
1. In the **Release notes** field, enter the release's description.
You can use Markdown in this field, and drag and drop files to it.
1. Click **Save changes**.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
## Associate milestones with a release
2019-12-26 22:10:19 +05:30
2020-06-23 00:09:42 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/29020) in GitLab 12.5.
2020-05-24 23:13:21 +05:30
> - [Updated](https://gitlab.com/gitlab-org/gitlab/-/issues/39467) to edit milestones in the UI in GitLab 13.0.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
You can associate a release with one or more [project milestones](../milestones/index.md#project-milestones-and-group-milestones).
You can do this in the user interface, or by including a `milestones` array in your request to
the [Releases API](../../../api/releases/index.md#create-a-release).
In the user interface, to associate milestones to a release:
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
1. Navigate to **Project overview > Releases**.
1. In the top-right corner of the release you want to modify, click **Edit this release** (the pencil icon).
1. From the **Milestones** list, select each milestone you want to associate. You can select multiple milestones.
1. Click **Save changes**.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
On the **Project overview > Releases** page, the **Milestone** is listed in the top
section, along with statistics about the issues in the milestones.
2019-12-26 22:10:19 +05:30
2020-04-08 14:13:33 +05:30
![A Release with one associated milestone](img/release_with_milestone_v12_9.png)
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
Releases are also visible on the **Issues > Milestones** page, and when you click a milestone
on this page.
Here is an example of milestones with no releases, one release, and two releases, respectively.
2019-12-26 22:10:19 +05:30
![Milestones with and without Release associations](img/milestone_list_with_releases_v12_5.png)
2020-07-28 23:09:34 +05:30
## Get notified when a release is created
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/26001) in GitLab 12.4.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
You can be notified by email when a new release is created for your project.
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
To subscribe to notifications for releases:
2019-02-15 15:39:39 +05:30
2020-07-28 23:09:34 +05:30
1. Navigate to **Project overview**.
1. Click **Notification setting** (the bell icon).
1. In the list, click **Custom**.
1. Select the **New release** check box.
1. Close the dialog box to save.
2019-10-12 21:52:04 +05:30
2020-07-28 23:09:34 +05:30
## Prevent unintentional releases by setting a deploy freeze
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/29382) in GitLab 13.0.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
Prevent unintended production releases during a period of time you specify by
setting a [*deploy freeze* period](../../../ci/environments/deployment_safety.md).
Deploy freezes help reduce uncertainty and risk when automating deployments.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
Use the [Freeze Periods API](../../../api/freeze_periods.md) to set a `freeze_start` and a `freeze_end`, which
are defined as [crontab](https://crontab.guru/) entries.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
If the job that's executing is within a freeze period, GitLab CI/CD creates an environment
variable named `$CI_DEPLOY_FREEZE`.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
To prevent the deployment job from executing, create a `rules` entry in your
`gitlab-ci.yaml`, for example:
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
```yaml
deploy_to_production:
stage: deploy
script: deploy_to_prod.sh
rules:
- if: $CI_DEPLOY_FREEZE == null
```
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
If a project contains multiple freeze periods, all periods apply. If they overlap, the freeze covers the
complete overlapping period.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
For more information, see [Deployment safety](../../../ci/environments/deployment_safety.md).
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
## Release fields
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
The following fields are available when you create or edit a release.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
### Tag name
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
The release tag name should include the release version. GitLab uses [Semantic Versioning](https://semver.org/)
for our releases, and we recommend you do too. Use `(Major).(Minor).(Patch)`, as detailed in the
[GitLab Policy for Versioning](../../../policy/maintenance.md#versioning).
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
For example, for GitLab version `10.5.7`:
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
- `10` represents the major version. The major release was `10.0.0`, but often referred to as `10.0`.
- `5` represents the minor version. The minor release was `10.5.0`, but often referred to as `10.5`.
- `7` represents the patch number.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
Any part of the version number can be multiple digits, for example, `13.10.11`.
2020-04-08 14:13:33 +05:30
2020-07-28 23:09:34 +05:30
### Release notes description
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
Every release has a description. You can add any text you like, but we recommend
including a changelog to describe the content of your release. This helps users
quickly scan the differences between each release you publish.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
NOTE: **Note:**
[Git's tagging messages](https://git-scm.com/book/en/v2/Git-Basics-Tagging) and
Release note descriptions are unrelated. Description supports [Markdown](../../markdown.md).
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
### Release assets
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
You can currently add the following types of assets to each release:
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
- [Source code](#source-code)
- [Links](#links)
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
GitLab will support more asset types in the future, including objects such
as pre-built packages, compliance/security evidence, or container images.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
#### Permanent links to release assets
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/27300) in GitLab 12.9.
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
The assets associated with a release are accessible through a permanent URL.
GitLab will always redirect this URL to the actual asset
location, so even if the assets move to a different location, you can continue
to use the same URL. This is defined during [link creation](../../../api/releases/links.md#create-a-link) or [updating](../../../api/releases/links.md#update-a-link).
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
Each asset has a name, a URL of the *actual* asset location, and optionally, a
`filepath` parameter, which, if you specify it, will create a URL pointing
to the asset for the Release. The format of the URL is:
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
```plaintext
https://host/namespace/project/releases/:release/downloads/:filepath
```
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
If you have an asset for the `v11.9.0-rc2` release in the `gitlab-org`
namespace and `gitlab-runner` project on `gitlab.com`, for example:
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
```json
{
"name": "linux amd64",
"filepath": "/binaries/gitlab-runner-linux-amd64",
"url": "https://gitlab-runner-downloads.s3.amazonaws.com/v11.9.0-rc2/binaries/gitlab-runner-linux-amd64"
}
```
This asset has a direct link of:
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
```plaintext
https://gitlab.com/gitlab-org/gitlab-runner/releases/v11.9.0-rc2/downloads/binaries/gitlab-runner-linux-amd64
```
The physical location of the asset can change at any time and the direct link will remain unchanged.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
### Source code
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
GitLab automatically generates `zip`, `tar.gz`, `tar.bz2` and `tar`
archived source code from the given Git tag. These are read-only assets.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
### Links
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
A link is any URL which can point to whatever you like: documentation, built
binaries, or other related materials. These can be both internal or external
links from your GitLab instance.
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
The four types of links are "Runbook," "Package," "Image," and "Other."
2019-12-26 22:10:19 +05:30
2020-07-28 23:09:34 +05:30
## Release evidence
2019-12-26 22:10:19 +05:30
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/26019) in GitLab 12.6.
2019-12-26 22:10:19 +05:30
2020-04-22 19:07:51 +05:30
Each time a release is created, GitLab takes a snapshot of data that's related to it.
2020-07-28 23:09:34 +05:30
This data is saved in a JSON file and called *release evidence*. It includes linked milestones
and issues and can facilitate internal processes like external audits.
To access the release evidence, on the Releases page, click the link to the JSON file that's listed
under the **Evidence collection** heading.
2020-04-22 19:07:51 +05:30
You can also [use the API](../../../api/releases/index.md#collect-release-evidence-premium-only) to
2020-07-28 23:09:34 +05:30
generate release evidence for an existing release. Because of this, each release
can have multiple release evidence snapshots. You can view the release evidence and
its details on the Releases page.
2019-12-26 22:10:19 +05:30
2020-05-24 23:13:21 +05:30
NOTE: **Note:**
2020-06-23 00:09:42 +05:30
When the issue tracker is disabled, release evidence [cannot be downloaded](https://gitlab.com/gitlab-org/gitlab/-/issues/208397).
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
Here is an example of a release evidence object:
2019-12-26 22:10:19 +05:30
```json
{
"release": {
"id": 5,
2020-06-23 00:09:42 +05:30
"tag_name": "v4.0",
2019-12-26 22:10:19 +05:30
"name": "New release",
2020-06-23 00:09:42 +05:30
"project": {
"id": 20,
"name": "Project name",
"created_at": "2019-04-14T11:12:13.940Z",
"description": "Project description"
},
"created_at": "2019-06-28 13:23:40 UTC",
"description": "Release description",
2019-12-26 22:10:19 +05:30
"milestones": [
{
"id": 11,
"title": "v4.0-rc1",
"state": "closed",
"due_date": "2019-05-12 12:00:00 UTC",
"created_at": "2019-04-17 15:45:12 UTC",
"issues": [
{
"id": 82,
"title": "The top-right popup is broken",
"author_name": "John Doe",
"author_email": "john@doe.com",
"state": "closed",
"due_date": "2019-05-10 12:00:00 UTC"
},
{
"id": 89,
"title": "The title of this page is misleading",
"author_name": "Jane Smith",
"author_email": "jane@smith.com",
"state": "closed",
"due_date": "nil"
}
]
},
{
"id": 12,
"title": "v4.0-rc2",
"state": "closed",
"due_date": "2019-05-30 18:30:00 UTC",
"created_at": "2019-04-17 15:45:12 UTC",
"issues": []
}
2020-07-28 23:09:34 +05:30
],
"report_artifacts": [
{
"url":"https://gitlab.example.com/root/project-name/-/jobs/111/artifacts/download"
}
2019-12-26 22:10:19 +05:30
]
}
}
```
2020-07-28 23:09:34 +05:30
### Collect release evidence **(PREMIUM ONLY)**
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/199065) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.10.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
When a release is created, release evidence is automatically collected. To initiate evidence collection any other time, use an [API call](../../../api/releases/index.md#collect-release-evidence-premium-only). You can collect release evidence multiple times for one release.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
Evidence collection snapshots are visible on the Releases page, along with the timestamp the evidence was collected.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
### Include report artifacts as release evidence **(ULTIMATE ONLY)**
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/32773) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 13.2.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
When you create a release, if [job artifacts](../../../ci/pipelines/job_artifacts.md#artifactsreports) are included in the last pipeline that ran, they are automatically included in the release as release evidence.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
Although job artifacts normally expire, artifacts included in release evidence do not expire.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
To enable job artifact collection you need to specify both:
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
1. [`artifacts:paths`](../../../ci/yaml/README.md#artifactspaths)
1. [`artifacts:reports`](../../../ci/pipelines/job_artifacts.md#artifactsreports)
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
```yaml
ruby:
script:
- gem install bundler
- bundle install
- bundle exec rspec --format progress --format RspecJunitFormatter --out rspec.xml
artifacts:
paths:
- rspec.xml
reports:
junit: rspec.xml
```
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
If the pipeline ran successfully, when you create your release, the `rspec.xml` file is saved as release evidence.
2020-03-13 15:44:24 +05:30
2020-07-28 23:09:34 +05:30
NOTE: **Note:**
If you [schedule release evidence collection](#schedule-release-evidence-collection), some artifacts may already be expired by the time of evidence collection. To avoid this you can use the [`artifacts:expire_in`](../../../ci/yaml/README.md#artifactsexpire_in) keyword. Learn more in [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/222351).
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
### Schedule release evidence collection
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23697) in GitLab 12.8.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
In the API:
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
- If you specify a future `released_at` date, the release becomes an **Upcoming Release**
and the evidence is collected on the date of the release. You cannot collect
release evidence before then.
- If you use a past `released_at` date, no evidence is collected.
- If you do not specify a `released_at` date, release evidence is collected on the
date the release is created.
2020-04-22 19:07:51 +05:30
2020-07-28 23:09:34 +05:30
### Disable release evidence display **(CORE ONLY)**
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
The `:release_evidence_collection` feature flag is enabled by default in GitLab
self-managed instances. To turn it off, ask a GitLab administrator with Rails console
access to run the following command:
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
```ruby
Feature.disable(:release_evidence_collection)
```
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
NOTE: **Note:**
Release evidence is collected regardless of this feature flag,
which only enables or disables the display of the data on the
Releases page.
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
## GitLab Releaser
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-releaser/-/merge_requests/6) in GitLab 12.10.
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
GitLab Releaser is a CLI tool for managing GitLab Releases from the command line or from
GitLab's CI/CD configuration file, `.gitlab-ci.yml`.
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
With it, you can create, update, modify, and delete releases right through the
terminal.
2020-05-24 23:13:21 +05:30
2020-07-28 23:09:34 +05:30
Read the [GitLab Releaser documentation](https://gitlab.com/gitlab-org/gitlab-releaser/-/tree/master/docs/index.md)
for details.
2020-06-23 00:09:42 +05:30
2019-10-12 21:52:04 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g. `### Getting error message X`.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->