Skip to content

Commit 2f7eb25

Browse files
committed
odin: get_latest_version
1 parent b782b68 commit 2f7eb25

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/docs/scrapers/odin.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Odin < UrlScraper
44
self.name = 'Odin'
55
self.slug = 'odin'
66
self.type = 'odin'
7-
self.release = 'latest'
7+
self.release = '2026-07'
88
self.base_urls = [
99
'https://odin-lang.org/',
1010
'https://pkg.odin-lang.org/'
@@ -54,5 +54,9 @@ def initial_urls
5454
Licensed under the zlib License.
5555
HTML
5656

57+
def get_latest_version(opts)
58+
get_latest_github_release('odin-lang', 'Odin', opts)[4..]
59+
end
60+
5761
end
5862
end

0 commit comments

Comments
 (0)