Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
chore(release): auto-upgrade version in CI workflows as well
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati committed Oct 21, 2022
1 parent 0fe0643 commit a0ed69e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"branches": [
"main",
"master"
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand All @@ -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}",
Expand All @@ -21,6 +21,12 @@
"hasChanged": true,
"numMatches": 5,
"numReplacements": 5
},
{
"file": ".github/workflows/ci.yml",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
Expand All @@ -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}"
}
Expand Down

0 comments on commit a0ed69e

Please sign in to comment.