forked from google/secrets-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
29 lines (29 loc) · 936 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
branches:
- main
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "./secrets-gradle-plugin/build.gradle.kts"
from: "const val version = \".*\""
to: "const val version = \"${nextRelease.version}\""
- files:
- "README.md"
from: "version \".*\""
to: "version \"${nextRelease.version}\""
- files:
- "README.md"
from: "version '.*'"
to: "version '${nextRelease.version}'"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
publishCmd: "./gradlew publishPlugins --warn --stacktrace"
- - "@semantic-release/git"
- assets:
- "./secrets-gradle-plugin/build.gradle.kts"
- "*.md"
- "@semantic-release/github"
options:
debug: true