diff --git a/test/ci-runtests.sh b/test/ci-runtests.sh index 95e834030991..6e50c59e2f49 100755 --- a/test/ci-runtests.sh +++ b/test/ci-runtests.sh @@ -29,9 +29,13 @@ TEST_OS=$1 RELEASES=$(curl -sf https://api.github.com/repos/mullvad/mullvadvpn-app/releases | jq -r '[.[] | select(((.tag_name|(startswith("android") or startswith("ios"))) | not))]') OLD_APP_VERSION=$(jq -r '[.[] | select(.prerelease==false)] | .[0].tag_name' <<<"$RELEASES") -NEW_APP_VERSION=$(cargo run -q --manifest-path="$APP_DIR/Cargo.toml" --bin mullvad-version) -commit=$(git rev-parse HEAD^\{commit\}) +# NEW_APP_VERSION=$(cargo run -q --manifest-path="$APP_DIR/Cargo.toml" --bin mullvad-version) +# commit=$(git rev-parse origin/main) +# commit=${commit:0:6} +# +commit=$(git rev-parse origin/main) commit=${commit:0:6} +NEW_APP_VERSION=2023.5-dev-$commit TAG=$(git describe --exact-match HEAD 2>/dev/null || echo "")