File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ rm -rf ${UTPLSQL_DIR:-utPLSQL_latest_release}
1010# clone utPLSQL master branch from upstream into utPLSQL sub-directory of your project
1111git clone --depth=1 --branch=${SELFTESTING_BRANCH:- master} https://github.com/utPLSQL/utPLSQL.git ${UTPLSQL_DIR:- utPLSQL_latest_release}
1212
13- rm -rf utPLSQL-cli/*
14- # download beta version of utPLSQL-cli
15- curl -Lk -o utPLSQL-cli.zip https://bintray.com/viniciusam/utPLSQL-cli/download_file? file_path=${UTPLSQL_CLI_FILE}
13+ # download latest release version of utPLSQL-cli
14+ curl -LOk $( curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-cli/releases/latest | awk ' /browser_download_url/ { print $2 }' | grep " .zip" | sed ' s/"//g' )
1615# unzip utPLSQL-cli and remove the zip file
17- unzip utPLSQL-cli.zip && chmod u+x utPLSQL-cli/bin/utplsql && rm utPLSQL-cli.zip
16+ unzip -o utPLSQL-cli.zip && chmod u+x utPLSQL-cli/bin/utplsql && rm utPLSQL-cli.zip
1817
You can’t perform that action at this time.
0 commit comments