Skip to content

Commit 4d4159c

Browse files
committed
Update to download of binaries from GitHub
1 parent 578e049 commit 4d4159c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_plugins/download.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def initialize(tag_name, text, tokens)
88

99
def render(context)
1010
version = context['site']['trino_version']
11-
base = 'https://repo1.maven.org/maven2/io/trino'
11+
base = 'https://github.com/trinodb/trino/releases/download/'
1212
file = "#{@name}-#{version}#{@suffix}"
13-
url = "#{base}/#{@name}/#{version}/#{file}"
13+
url = "#{base}/#{version}/#{file}"
1414
%Q[<a class="btn btn-pink btn-md" href="#{url}">#{file}</a>]
1515
end
1616
end

0 commit comments

Comments
 (0)