docs(gitlab): add example gitlab-ci.yml

This commit is contained in:
Felix Wiedmann
2021-08-10 16:28:47 +02:00
committed by Felix Wiedmann
parent 2d7977993b
commit 780a6dbc2e
2 changed files with 13 additions and 0 deletions

View File

@@ -128,6 +128,8 @@ gitlab:
tagPrefix: "" tagPrefix: ""
``` ```
You can find an example `.gitlab-ci.yml` in the [examples](examples/.gitlab-ci.yml) folder.
##### Git only ##### Git only
Only via https at the moment. You need write access to your git repository Only via https at the moment. You need write access to your git repository

11
examples/.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,11 @@
stages:
- release
release:
stage: release
image:
name: nightapes/go-semantic-release:latest
script:
- go-semantic-release next
only:
- master