Skip to content

Commit

Permalink
fix(releaserc): setup .releaserc.json to update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
mcepl committed Jan 26, 2025
1 parent 8fde872 commit 99b1663
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
{
"replacements": [
{
"files": ["setup.py"],
"from": "version=\".*\"",
"to": "version=\"${nextRelease.version}\"",
"files": ["passgithelper.py"],
"from": "__version__ = \".*\"",
"to": "__version__ = \"${nextRelease.version}\"",
"results": [
{
"file": "setup.py",
"file": "passgithelper.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
Expand All @@ -37,7 +37,7 @@
[
"@semantic-release/git",
{
"assets": ["setup.py"]
"assets": ["passgithelper.py"]
}
],
"@semantic-release/github"
Expand Down

0 comments on commit 99b1663

Please sign in to comment.