Skip to content

Commit

Permalink
fix: fix renovate regex match for pip/pipx (serious-scaffold#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan authored Jul 10, 2024
1 parent c8f843b commit ba48e0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"^template/docs/.+\\.md(\\.jinja)?$"
],
"matchStrings": [
"pip install.* (?<depName>.*?)==(?<currentValue>.*?)[\"\n]",
"pipx install( --force)? (?<depName>.*?)==(?<currentValue>.*?)\n"
"pip install.* (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)[\"\n]",
"pipx install( --force)? (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)\\s"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions template/.renovaterc.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
[%- endif %]
],
"matchStrings": [
"pip install.* (?<depName>.*?)==(?<currentValue>.*?)[\"\n]",
"pipx install( --force)? (?<depName>.*?)==(?<currentValue>.*?)\n"
"pip install.* (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)[\"\n]",
"pipx install( --force)? (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)\\s"
]
},
{
Expand Down

0 comments on commit ba48e0a

Please sign in to comment.