File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 6464 "customManagers" : [
6565 {
6666 "customType" : " regex" ,
67- "description" : " Update swift-tools-version in Package.swift and .swift-version " ,
67+ "description" : " Update swift-tools-version in Package.swift" ,
6868 "fileMatch" : [
69- " .swift-version" ,
7069 " Package\\ .swift"
7170 ],
7271 "matchStrings" : [
73- " swift-tools-version:\\ s*(?<currentValue>.*)" ,
74- " (?<currentValue>.*)"
72+ " ^\/\/ (\\ s)?swift-tools-version:[\\ s]?(?<currentValue>[0-9.]+)"
73+ ],
74+ "datasourceTemplate" : " github-releases" ,
75+ "depNameTemplate" : " swiftlang/swift" ,
76+ "extractVersionTemplate" : " ^swift-(?<version>.*)-RELEASE$"
77+ },
78+ {
79+ "customType" : " regex" ,
80+ "description" : " Update .swift-version" ,
81+ "fileMatch" : " .swift-version" ,
82+ "matchStrings" : [
83+ " (?<currentValue>[0-9.]+)"
7584 ],
7685 "datasourceTemplate" : " github-releases" ,
7786 "depNameTemplate" : " swiftlang/swift" ,
You can’t perform that action at this time.
0 commit comments