Skip to content

Commit

Permalink
docs: update the GitLab CI/CD example
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
graugans authored and christophwitzko committed Feb 7, 2023
1 parent 0cc5286 commit a713764
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -108,14 +108,15 @@ You can set the GitLab token via the `GITLAB_TOKEN` environment variable or the
- 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
# Remove this if you want a release created for each push to master
when: manual
# when: manual # Add this if you want to manually create releases
only:
- master
script:
- release
- semantic-release # Add --allow-no-changes if you want to create a release for each push
```

## Plugin System
Expand Down

0 comments on commit a713764

Please sign in to comment.