Commit 0af09f7b authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-7' into 'master'

Add note to README about using $CI_COMMIT_REF_SLUG when using forward-slashes

Closes gitlab-ce#48275

See merge request gitlab-org/gitlab-ee!6300
parents 4ae63977 06e397d4
......@@ -942,6 +942,11 @@ useful when you'd like to download the archive from GitLab. The `artifacts:name`
variable can make use of any of the [predefined variables](../variables/README.md).
The default name is `artifacts`, which becomes `artifacts.zip` when downloaded.
NOTE: **Note:**
If your branch-name contains forward slashes
(e.g. `feature/my-feature`) it is advised to use `$CI_COMMIT_REF_SLUG`
instead of `$CI_COMMIT_REF_NAME` for proper naming of the artifact.
To create an archive with a name of the current job:
```yaml
......
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