Skip to content

Commit

Permalink
Fix regex start
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Sep 22, 2024
1 parent 8eaeef3 commit 5d5bf96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,39 @@
],
"github-actions": { "fileMatch": ["(^|/)\\.github/workflows/[^/]+$"] },
"pep621": {
"fileMatch": ["[^|/]pyproject\\.toml[^/]*$"],
"fileMatch": ["(^|/)pyproject\\.toml[^/]*$"],
"rangeStrategy": "bump"
},
"ignoreDeps": ["towncrier"],
"customManagers": [
{
"description": "uv",
"customType": "regex",
"fileMatch": ["[^|/]\\.uv-version[^/]*$"],
"fileMatch": ["(^|/)\\.uv-version[^/]*$"],
"matchStrings": ["(?<currentValue>[^\\n]+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "astral-sh/uv"
},
{
"description": "uv-gha",
"customType": "regex",
"fileMatch": ["[^|/]\\.github/workflows/[^/]*$"],
"fileMatch": ["(^|/)\\.github/workflows/[^/]*$"],
"matchStrings": ["- uses: \"astral-sh/setup-uv@.+\\n\\s+with:\\n\\s+version: \"(?<currentValue>.+)\""],
"datasourceTemplate": "github-releases",
"depNameTemplate": "astral-sh/uv"
},
{
"description": "pylance",
"customType": "regex",
"fileMatch": ["[^|/]\\.pylance-version[^/]*$"],
"fileMatch": ["(^|/)\\.pylance-version[^/]*$"],
"matchStrings": ["(?<currentValue>[^\\n]+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "microsoft/pylance-release"
},
{
"description": "copier",
"customType": "regex",
"fileMatch": ["[^|/]\\.copier-version[^/]*$"],
"fileMatch": ["(^|/)\\.copier-version[^/]*$"],
"matchStrings": ["(?<currentValue>[^\\n]+)"],
"datasourceTemplate": "pypi",
"depNameTemplate": "copier"
Expand Down
7 changes: 3 additions & 4 deletions template/.renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,27 @@
"pep621",
"pre-commit"
],
"pep621": { "fileMatch": ["[^|/]pyproject\\.toml[^/]*$"] },
"customManagers": [
{
"description": "uv",
"customType": "regex",
"fileMatch": ["[^|/]\\.uv-version[^/]*$"],
"fileMatch": ["(^|/)\\.uv-version[^/]*$"],
"matchStrings": ["(?<currentValue>[^\\n]+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "astral-sh/uv"
},
{
"description": "uv-gha",
"customType": "regex",
"fileMatch": ["[^|/]\\.github/workflows/[^/]*$"],
"fileMatch": ["(^|/)\\.github/workflows/[^/]*$"],
"matchStrings": ["- uses: \"astral-sh/setup-uv@.+\\n\\s+with:\\n\\s+version: \"(?<currentValue>.+)\""],
"datasourceTemplate": "github-releases",
"depNameTemplate": "astral-sh/uv"
},
{
"description": "pylance",
"customType": "regex",
"fileMatch": ["[^|/]\\.pylance-version[^/]*$"],
"fileMatch": ["(^|/)\\.pylance-version[^/]*$"],
"matchStrings": ["(?<currentValue>[^\\n]+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "microsoft/pylance-release"
Expand Down

0 comments on commit 5d5bf96

Please sign in to comment.