You've already forked go-semantic-release
docs(gitlab): add example gitlab-ci.yml
This commit is contained in:
@@ -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
|
||||
|
||||
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