-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yaml
33 lines (29 loc) · 892 Bytes
/
.releaserc.yaml
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
plugins:
- - "@semantic-release/commit-analyzer"
- releaseRules:
- type: "chore"
scope: "deps"
release: "patch"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "pyproject.toml"
from: "^version = \".*\""
to: "version = \"${nextRelease.version}\""
results:
- file: "pyproject.toml"
hasChanged: true
numMatches: 1
numReplacements: 1
countMatches: true
- files:
- "web_service.yaml"
from: "gcr.io/garden-server-381815/garden-server:.*"
to: "gcr.io/garden-server-381815/garden-server:${nextRelease.version}"
results:
- file: "web_service.yaml"
hasChanged: true
branches:
- "main"
- "+([0-9])?(.{+([0-9]),x}).x"
tagFormat: "${version}"