Skip to content

Commit

Permalink
go: Create section for go 1.20 (#402)
Browse files Browse the repository at this point in the history
If I understand correctly, auto-version has stopped working for 1.20
versions because of 1.21.
  • Loading branch information
orestisfl authored Oct 27, 2023
1 parent 8aceed3 commit 81eb72a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions go.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,20 @@ version "1.19" "1.19.1" "1.19.2" "1.19.3" "1.19.4" "1.19.5" "1.19.6" "1.19.7" "1
}
}

version "1.20" "1.20.1" "1.20.2" "1.20.3" "1.20.4" "1.20.5" "1.20.6" "1.20.7" "1.20.8"
"1.20.9" "1.20.10" {
auto-version {
version-pattern = "go([^\\s]+)"

html {
url = "https://go.dev/dl/"
xpath = "//span[starts-with(., 'go1.20')]"
}
}
}

// All other versions
version "1.20" "1.20.1" "1.20.2" "1.20.3" "1.20.4" "1.20.5" "1.20.6" "1.20.7" "1.21.0"
"1.21.1" "1.21.2" "1.21.3" {
version "1.21.0" "1.21.1" "1.21.2" "1.21.3" {
auto-version {
version-pattern = "go([^\\s]+)"

Expand Down

0 comments on commit 81eb72a

Please sign in to comment.