diff --git a/download-page/download-page-utils.sh b/download-page/download-page-utils.sh index 74b1776..accae4b 100644 --- a/download-page/download-page-utils.sh +++ b/download-page/download-page-utils.sh @@ -46,7 +46,7 @@ function nexus_asset_search ext="$5" version="$6" # This is the only one that is optional, last versions are fetched if omitted - url="https://knetminer.org/artifactory" + url="https://knetminer.com/artifactory" url="$url/service/rest/v1/search/assets?sort=version&direction=desc" url="$url&repository=$repo" @@ -97,5 +97,8 @@ function make_doc download_url=$(nexus_asset_search \ $repo $group $artifact "$classifier" "$ext" "$version" |js_2_download_url) + + debug "--- DOWNLOAD URL: '$download_url'" + cat | sed -E s"|$placeholder|$download_url|g" }