File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,21 @@ version "1.23.0" "1.23.1" "1.23.2" "1.23.3" "1.23.4" "1.23.5" "1.23.6" "1.23.7"
122
122
}
123
123
124
124
// All other versions
125
- version "1.24.0" "1.24.1" "1.24.2" "1.24.3" "1.24.4" "1.24.5" "1.24.6" "1.25.0" {
125
+ version "1.24.0" "1.24.1" "1.24.2" "1.24.3" "1.24.4" "1.24.5" "1.24.6" {
126
+ auto-version {
127
+ version-pattern = " go([^\\ s]+)"
128
+
129
+ html {
130
+ url = " https://go.dev/dl/"
131
+ // this XPath will match all versions starting with "go1", i.e. all future versions.
132
+ // Once there is a new minor version, we'll need to update this, like in the previous sections.
133
+ xpath = " //span[starts-with(., 'go1.24')]"
134
+ }
135
+ }
136
+ }
137
+
138
+ // All other versions
139
+ version "1.25.0" {
126
140
auto-version {
127
141
version-pattern = " go([^\\ s]+)"
128
142
You can’t perform that action at this time.
0 commit comments