File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,6 @@ function is_git_installed() {
66 command -v git > /dev/null 2>&1
77}
88
9- function get_latest_tag() {
10- local repository_url=$1
11-
12- git ls-remote --tags " $repository_url " |
13- awk ' {print $2}' |
14- sed ' s|^refs/tags/||' |
15- sort -Vr |
16- head -n 1
17- }
18-
199function build_and_install_beta() {
2010 echo " > Downloading non-stable version: 'beta'"
2111
@@ -92,11 +82,7 @@ elif [[ $# -eq 2 ]]; then
9282fi
9383
9484BASHUNIT_GIT_REPO=" https://github.com/TypedDevs/bashunit"
95- if is_git_installed; then
96- LATEST_BASHUNIT_VERSION=" $( get_latest_tag " $BASHUNIT_GIT_REPO " ) "
97- else
98- LATEST_BASHUNIT_VERSION=" 0.29.0"
99- fi
85+ LATEST_BASHUNIT_VERSION=" 0.29.0"
10086TAG=" $LATEST_BASHUNIT_VERSION "
10187
10288cd " $( dirname " $0 " ) "
You can’t perform that action at this time.
0 commit comments