File tree 1 file changed +2
-9
lines changed
1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -eu
4
4
5
- SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
6
6
TEST_FRAMEWORK_ROOT=" $SCRIPT_DIR /../.."
7
7
REPO_ROOT=" $TEST_FRAMEWORK_ROOT /.."
8
8
@@ -26,14 +26,7 @@ LATEST_STABLE_RELEASE=$(jq -r '[.[] | select(.prerelease==false)] | .[0].tag_nam
26
26
function get_current_version {
27
27
local app_dir
28
28
app_dir=" $REPO_ROOT "
29
- if [ -n " ${TEST_DIST_DIR+x} " ]; then
30
- if [ ! -x " ${TEST_DIST_DIR%/ } /mullvad-version" ]; then
31
- executable_not_found_in_dist_error mullvad-version
32
- fi
33
- " ${TEST_DIST_DIR%/ } /mullvad-version"
34
- else
35
- cargo run -q --manifest-path=" $app_dir /Cargo.toml" --bin mullvad-version
36
- fi
29
+ cargo run -q --manifest-path=" $app_dir /Cargo.toml" --bin mullvad-version
37
30
}
38
31
39
32
CURRENT_VERSION=$( get_current_version)
You can’t perform that action at this time.
0 commit comments