From 89c184f8fd869fc4d571f80406fe9615d722a306 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 6 May 2023 23:18:07 +0200 Subject: [PATCH] ci: release when bumping ReVanced Patcher 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. --- .releaserc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 3ed71897aaa..c113646e431 100644 --- a/.releaserc +++ b/.releaserc @@ -7,7 +7,13 @@ } ], "plugins": [ - "@semantic-release/commit-analyzer", + [ + "@semantic-release/commit-analyzer", { + "releaseRules": [ + { "type": "build", "scope": "revanced-patcher", "release": "patch" } + ] + } + ], "@semantic-release/release-notes-generator", "@semantic-release/changelog", "gradle-semantic-release-plugin",