Commit d6994009 authored by Jaime Martinez's avatar Jaime Martinez Committed by Nick Gaskill

Update Release examples

parent a9bb1ef7
...@@ -3897,7 +3897,7 @@ For example, when creating a Release from a Git tag: ...@@ -3897,7 +3897,7 @@ For example, when creating a Release from a Git tag:
job: job:
release: release:
tag_name: $CI_COMMIT_TAG tag_name: $CI_COMMIT_TAG
description: changelog.txt description: 'Release description'
``` ```
It is also possible to create any unique tag, in which case `only: tags` is not mandatory. It is also possible to create any unique tag, in which case `only: tags` is not mandatory.
...@@ -3907,7 +3907,7 @@ A semantic versioning example: ...@@ -3907,7 +3907,7 @@ A semantic versioning example:
job: job:
release: release:
tag_name: ${MAJOR}_${MINOR}_${REVISION} tag_name: ${MAJOR}_${MINOR}_${REVISION}
description: changelog.txt description: 'Release description'
``` ```
- The Release is created only if the job's main script succeeds. - The Release is created only if the job's main script succeeds.
......
...@@ -455,17 +455,17 @@ In the API: ...@@ -455,17 +455,17 @@ In the API:
- If you do not specify a `released_at` date, release evidence is collected on the - If you do not specify a `released_at` date, release evidence is collected on the
date the release is created. date the release is created.
## GitLab Releaser ## Release Command Line
> [Introduced](https://gitlab.com/gitlab-org/gitlab-releaser/-/merge_requests/6) in GitLab 12.10. > [Introduced](https://gitlab.com/gitlab-org/release-cli/-/merge_requests/6) in GitLab 12.10.
GitLab Releaser is a CLI tool for managing GitLab Releases from the command line or from The Release CLI is a command-line tool for managing GitLab Releases from the command line or from
GitLab's CI/CD configuration file, `.gitlab-ci.yml`. GitLab's CI/CD configuration file, `.gitlab-ci.yml`.
With it, you can create, update, modify, and delete releases right through the With it, you can create, update, modify, and delete releases right through the
terminal. terminal.
Read the [GitLab Releaser documentation](https://gitlab.com/gitlab-org/gitlab-releaser/-/tree/master/docs/index.md) Read the [Release CLI documentation](https://gitlab.com/gitlab-org/release-cli/-/blob/master/docs/index.md)
for details. for details.
<!-- ## Troubleshooting <!-- ## Troubleshooting
......
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