mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-24 18:55:49 +01:00
729d088719
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.
54 lines
1023 B
Plaintext
54 lines
1023 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": [
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"gradle.properties",
|
|
"patches.json"
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "build/libs/*.jar"
|
|
},
|
|
{
|
|
"path": "patches.json"
|
|
}
|
|
],
|
|
successComment: false
|
|
}
|
|
],
|
|
[
|
|
"@saithodev/semantic-release-backmerge",
|
|
{
|
|
backmergeBranches: [{"from": "main", "to": "dev"}],
|
|
clearWorkspace: true
|
|
}
|
|
]
|
|
]
|
|
}
|