Commit 403f4283 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'vshushlin-master-patch-71808' into 'master'

Fix release example in docs

See merge request gitlab-org/gitlab!84880
parents bfc52d56 75b74071
......@@ -2696,8 +2696,8 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/
**Example of `release` keyword**:
```yaml
release_job:
```yaml
release_job:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
......@@ -2705,9 +2705,10 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/
script:
- echo "Running the release job."
release:
tag_name: $CI_COMMIT_TAG
name: 'Release $CI_COMMIT_TAG'
description: 'Release created using the release-cli.'
```
```
This example creates a release:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment