You've already forked go-semantic-release
docs(gitlab): add example gitlab-ci.yml
This commit is contained in:
committed by
Felix Wiedmann
parent
2d7977993b
commit
780a6dbc2e
@@ -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
11
examples/.gitlab-ci.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
stages:
|
||||||
|
- release
|
||||||
|
|
||||||
|
release:
|
||||||
|
stage: release
|
||||||
|
image:
|
||||||
|
name: nightapes/go-semantic-release:latest
|
||||||
|
script:
|
||||||
|
- go-semantic-release next
|
||||||
|
only:
|
||||||
|
- master
|
||||||
Reference in New Issue
Block a user