File tree 1 file changed +1
-15
lines changed
1 file changed +1
-15
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
@@ -23,20 +23,6 @@ function get_test_utils_dir {
23
23
RELEASES=$( curl -sf https://api.github.com/repos/mullvad/mullvadvpn-app/releases | jq -r ' [.[] | select(((.tag_name|(startswith("android") or startswith("ios"))) | not))]' )
24
24
LATEST_STABLE_RELEASE=$( jq -r ' [.[] | select(.prerelease==false)] | .[0].tag_name' <<< " $RELEASES" )
25
25
26
- function get_current_version {
27
- local app_dir
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
37
- }
38
-
39
- CURRENT_VERSION=$( get_current_version)
40
26
commit=$( git rev-parse HEAD^\{ commit\} )
41
27
commit=${commit: 0: 6}
42
28
You can’t perform that action at this time.
0 commit comments