Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c5e8a046
Commit
c5e8a046
authored
Jul 28, 2020
by
Jaime Martinez
Committed by
Marcel Amirault
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update release note in yaml example
parent
ce6e7abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+3
-4
No files found.
doc/ci/yaml/README.md
View file @
c5e8a046
...
...
@@ -3729,8 +3729,7 @@ For more information, see [Deployments Safety](../environments/deployment_safety
> [Introduced](https://gitlab.com/gitlab-org/gitlab/merge_requests/19298) in GitLab 13.2.
`release`
indicates that the job creates a
[
Release
](
../../user/project/releases/index.md
)
,
and optionally includes URLs for Release assets.
`release`
indicates that the job creates a
[
Release
](
../../user/project/releases/index.md
)
.
These methods are supported:
...
...
@@ -3863,7 +3862,7 @@ tags. These options cannot be used together, so choose one:
# or can use a variable.
```
-
To create a release automatically when c
hanges are push
ed to the default branch,
-
To create a release automatically when c
ommits are pushed or merg
ed to the default branch,
using a new Git tag that is defined with variables:
```
yaml
...
...
@@ -3873,7 +3872,7 @@ tags. These options cannot be used together, so choose one:
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
never
# Do not run this job when a tag is created manually
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Run this job when
the default branch changes
-
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'
release
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment