提交 752b2dac 编写于 作者: J John Burak

Update README.md

上级 ff5792f6
......@@ -998,7 +998,7 @@ tag including only the files that are untracked by Git:
```yaml
job:
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
untracked: true
```
......@@ -1007,7 +1007,7 @@ To create an archive with a name of the current [stage](#stages) and branch name
```yaml
job:
artifacts:
name: "${CI_JOB_STAGE}_${CI_COMMIT_REF_NAME}"
name: "${CI_JOB_STAGE}-${CI_COMMIT_REF_NAME}"
untracked: true
```
......@@ -1019,7 +1019,7 @@ If you use **Windows Batch** to run your shell scripts you need to replace
```yaml
job:
artifacts:
name: "%CI_JOB_STAGE%_%CI_COMMIT_REF_NAME%"
name: "%CI_JOB_STAGE%-%CI_COMMIT_REF_NAME%"
untracked: true
```
......@@ -1029,7 +1029,7 @@ If you use **Windows PowerShell** to run your shell scripts you need to replace
```yaml
job:
artifacts:
name: "$($env:CI_JOB_STAGE)_$env:CI_COMMIT_REF_NAME"
name: "$env:CI_JOB_STAGE-$env:CI_COMMIT_REF_NAME"
untracked: true
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册