Commit a7e1cdf3 authored by Marcel Amirault's avatar Marcel Amirault Committed by Russell Dickenson

Change release examples to use double quotes

parent c60fbf8f
......@@ -2204,7 +2204,7 @@ its parent pipeline or another child pipeline in the same parent-child pipeline
```yaml
create-artifact:
stage: build
script: echo 'sample artifact' > artifact.txt
script: echo "sample artifact" > artifact.txt
artifacts:
paths: [artifact.txt]
......@@ -2408,10 +2408,10 @@ job2:
```yaml
job1:
script: echo 'test'
script: echo "test"
job2:
script: echo 'test'
script: echo "test"
only:
- branches
- tags
......@@ -2668,7 +2668,7 @@ you can use this image from the GitLab Container Registry: `registry.gitlab.com/
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created manually
script:
- echo 'Running the release job.'
- echo "Running the release job."
release:
name: 'Release $CI_COMMIT_TAG'
description: 'Release created using the release-cli.'
......@@ -2686,7 +2686,7 @@ This example creates a release:
```yaml
script:
- echo 'release job'
- echo "release job"
```
An [issue](https://gitlab.com/gitlab-org/gitlab/-/issues/223856) exists to remove this requirement.
......@@ -2724,7 +2724,7 @@ To create a release when a new tag is added to the project:
```yaml
job:
script: echo 'Running the release job for the new tag.'
script: echo "Running the release job for the new tag."
release:
tag_name: $CI_COMMIT_TAG
description: 'Release description'
......@@ -2737,7 +2737,7 @@ should **not** configure the job to run only for new tags. A semantic versioning
```yaml
job:
script: echo 'Running the release job and creating a new tag.'
script: echo "Running the release job and creating a new tag."
release:
tag_name: ${MAJOR}_${MINOR}_${REVISION}
description: 'Release description'
......
......@@ -100,7 +100,7 @@ release_job:
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created manually
script:
- echo 'running release_job'
- echo "running release_job"
release:
name: 'Release $CI_COMMIT_TAG'
description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION must be defined
......@@ -149,7 +149,7 @@ release_job:
when: never # Do not run this job when a tag is created manually
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
script:
- echo 'running release_job for $TAG'
- echo "running release_job for $TAG"
release:
name: 'Release $TAG'
description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION and the $TAG
......@@ -224,14 +224,14 @@ A pipeline can have multiple `release` jobs, for example:
```yaml
ios-release:
script:
- echo 'iOS release job'
- echo "iOS release job"
release:
tag_name: v1.0.0-ios
description: 'iOS release v1.0.0'
android-release:
script:
- echo 'Android release job'
- echo "Android release job"
release:
tag_name: v1.0.0-android
description: 'Android release v1.0.0'
......
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