Skip to content
Snippets Groups Projects
Commit a713764e authored by Christian Ege's avatar Christian Ege Committed by Christoph Witzko
Browse files

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: default avatarChristian Ege <ch@ege.io>
parent 0cc5286c
No related branches found
No related tags found
No related merge requests found
...@@ -108,14 +108,15 @@ You can set the GitLab token via the `GITLAB_TOKEN` environment variable or the ...@@ -108,14 +108,15 @@ You can set the GitLab token via the `GITLAB_TOKEN` environment variable or the
- release - release
release: release:
image: registry.gitlab.com/go-semantic-release/semantic-release:latest image:
name: registry.gitlab.com/go-semantic-release/semantic-release:latest
entrypoint: [""]
stage: release stage: release
# Remove this if you want a release created for each push to master # when: manual # Add this if you want to manually create releases
when: manual
only: only:
- master - master
script: script:
- release - semantic-release # Add --allow-no-changes if you want to create a release for each push
``` ```
## Plugin System ## Plugin System
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment