Skip to content

Commit a713764

Browse files
grauganschristophwitzko
authored andcommitted
docs: update the GitLab CI/CD example
Without overwriting the `entrypoint` the job just silently does nothing which may lead to some frustration for the user. Signed-off-by: Christian Ege <ch@ege.io>
1 parent 0cc5286 commit a713764

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@ You can set the GitLab token via the `GITLAB_TOKEN` environment variable or the
108108
- release
109109
110110
release:
111-
image: registry.gitlab.com/go-semantic-release/semantic-release:latest
111+
image:
112+
name: registry.gitlab.com/go-semantic-release/semantic-release:latest
113+
entrypoint: [""]
112114
stage: release
113-
# Remove this if you want a release created for each push to master
114-
when: manual
115+
# when: manual # Add this if you want to manually create releases
115116
only:
116117
- master
117118
script:
118-
- release
119+
- semantic-release # Add --allow-no-changes if you want to create a release for each push
119120
```
120121

121122
## Plugin System

0 commit comments

Comments
 (0)