-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
.releaserc
30 lines (30 loc) · 960 Bytes
/
.releaserc
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
branches:
- main
- devsite
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "build.gradle"
from: "\\bversion = '.*'"
to: "version = '${nextRelease.version}'"
- files:
- "build.gradle"
from: "com.google.maps.android:android-maps-utils:([0-9]+).([0-9]+).([0-9]+)"
to: "com.google.maps.android:android-maps-utils:${nextRelease.version}'"
- files:
- "README.md"
from: ":([0-9]+).([0-9]+).([0-9]+)"
to: ":${nextRelease.version}"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
publishCmd: "./gradlew publish --warn --stacktrace"
- - "@semantic-release/git"
- assets:
- "build.gradle"
- "*.md"
- "@semantic-release/github"
options:
debug: true