Refine renovate.json

This commit is contained in:
Christian Treffs 2025-03-07 23:05:01 +01:00
parent bdf02b7764
commit 95a68d3be5
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 13 additions and 4 deletions

View File

@ -64,14 +64,23 @@
"customManagers": [
{
"customType": "regex",
"description": "Update swift-tools-version in Package.swift and .swift-version",
"description": "Update swift-tools-version in Package.swift",
"fileMatch": [
".swift-version",
"Package\\.swift"
],
"matchStrings": [
"swift-tools-version:\\s*(?<currentValue>.*)",
"(?<currentValue>.*)"
"^\/\/(\\s)?swift-tools-version:[\\s]?(?<currentValue>[0-9.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "swiftlang/swift",
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
},
{
"customType": "regex",
"description": "Update .swift-version",
"fileMatch": ".swift-version",
"matchStrings": [
"(?<currentValue>[0-9.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "swiftlang/swift",