From a713764ef4c88541b56514218ffa59ba0d4a6a3e Mon Sep 17 00:00:00 2001
From: Christian Ege <ch@ege.io>
Date: Fri, 27 Jan 2023 14:48:25 +0100
Subject: [PATCH] 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>
---
 README.md | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 7948d21..b661d09 100644
--- a/README.md
+++ b/README.md
@@ -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
-- 
GitLab