mirror of
https://github.com/revanced/revanced-cli
synced 2024-10-31 23:29:34 +01:00
69fe59f97b
This is required when two projects bump ReVanced Patcher, but one does not release a new version, resulting them to get out of sync. For that reason, commits of type `build` and scope `revanced-patcher` are treated as releasing commits.
49 lines
917 B
Plaintext
49 lines
917 B
Plaintext
{
|
|
"branches": [
|
|
"main",
|
|
{
|
|
"name": "dev",
|
|
"prerelease": true
|
|
}
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer", {
|
|
"releaseRules": [
|
|
{ "type": "build", "scope": "revanced-patcher", "release": "patch" }
|
|
]
|
|
}
|
|
],
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
"gradle-semantic-release-plugin",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"CHANGELOG.md",
|
|
"gradle.properties"
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "build/libs/*all.jar"
|
|
}
|
|
],
|
|
successComment: false
|
|
}
|
|
],
|
|
[
|
|
"@saithodev/semantic-release-backmerge",
|
|
{
|
|
backmergeBranches: [{"from": "main", "to": "dev"}],
|
|
clearWorkspace: true
|
|
}
|
|
]
|
|
]
|
|
}
|