[ubuntu] Refactor GitHub package download URL function (#8947)
* [ubuntu] Refactor Github Package URL function * Fix function and selenium version * Remove beta/release candidate versions
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Install latest sbt release
|
||||
download_url=$(get_github_package_download_url "sbt/sbt" "endswith(\".tgz\")")
|
||||
download_url=$(resolve_github_release_asset_url "sbt/sbt" "endswith(\".tgz\")" "latest")
|
||||
archive_path=$(download_with_retry "$download_url")
|
||||
tar zxf "$archive_path" -C /usr/share
|
||||
ln -s /usr/share/sbt/bin/sbt /usr/bin/sbt
|
||||
|
||||
Reference in New Issue
Block a user