From 9d7edbf75690053d69fc16eba0d756675aaabbf6 Mon Sep 17 00:00:00 2001 From: Felix Wiedmann Date: Tue, 10 Aug 2021 16:28:47 +0200 Subject: [PATCH] docs(gitlab): add example gitlab-ci.yml --- README.md | 2 ++ examples/.gitlab-ci.yml | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 examples/.gitlab-ci.yml diff --git a/README.md b/README.md index af45ad4..91d3ff8 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,8 @@ gitlab: tagPrefix: "" ``` +You can find an example `.gitlab-ci.yml` in the [examples](examples/.gitlab-ci.yml) folder. + ##### Git only Only via https at the moment. You need write access to your git repository diff --git a/examples/.gitlab-ci.yml b/examples/.gitlab-ci.yml new file mode 100644 index 0000000..6699854 --- /dev/null +++ b/examples/.gitlab-ci.yml @@ -0,0 +1,11 @@ +stages: + - release + +release: + stage: release + image: + name: nightapes/go-semantic-release:latest + script: + - go-semantic-release next + only: + - master