Skip to content

Commit

Permalink
download-page-utils.sh, minor bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Nov 7, 2023
1 parent 4e1cc1c commit 4054e04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion download-page/download-page-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
}

0 comments on commit 4054e04

Please sign in to comment.