-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yml
executable file
·38 lines (38 loc) · 1.03 KB
/
.releaserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
plugins:
- "@semantic-release/commit-analyzer"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- ./version.txt
from: 'version = *.*.*'
to: 'version = ${nextRelease.version}'
results:
- file: ./version.txt
hasChanged: true
numMatches: 1
numReplacements: 1
countMatches: true
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
# Uncomment to start using containers!
# - "semantic-release-gitlab-registry"
- "@semantic-release/gitlab"
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
- version.txt
message: |-
chore(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}
branches:
- name: "+([0-9])?(.{+([0-9]),x}).x"
channel: "gitlab-go-snapshot"
- name: "master"
channel: "gitlab-go"
- name: "pre/beta"
channel: "gitlab-go"
prerelease: "beta"
- name: "pre/rc"
channel: "gitlab-go"
prerelease: "rc"
debug: false