From a0ed69eee1ab9fcf4d9f7e8d9df5f31fc756003a Mon Sep 17 00:00:00 2001 From: GP Date: Fri, 21 Oct 2022 12:58:41 +0530 Subject: [PATCH] chore(release): auto-upgrade version in CI workflows as well --- .releaserc.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.releaserc.json b/.releaserc.json index 6f08d535..e8577285 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,7 +1,6 @@ { "branches": [ - "main", - "master" + "main" ], "plugins": [ "@semantic-release/commit-analyzer", @@ -11,7 +10,8 @@ "replacements": [ { "files": [ - "README.md" + "README.md", + ".github/workflows/ci.yml" ], "from": "paambaati/codeclimate-action@v.*", "to": "paambaati/codeclimate-action@v${nextRelease.version}", @@ -21,6 +21,12 @@ "hasChanged": true, "numMatches": 5, "numReplacements": 5 + }, + { + "file": ".github/workflows/ci.yml", + "hasChanged": true, + "numMatches": 1, + "numReplacements": 1 } ], "countMatches": true @@ -43,7 +49,8 @@ "package.json", "package-lock.json", "CHANGELOG.md", - "README.md" + "README.md", + ".github/workflows/ci.yml" ], "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" }