Skip to content

Commit

Permalink
Revert commit parsing using git
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Oct 16, 2023
1 parent 7004b80 commit 4b1f2e7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/ci-runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@ 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")

# TODO(markus,david): REVERT
# NEW_APP_VERSION=$(cargo run -q --manifest-path="$APP_DIR/Cargo.toml" --bin mullvad-version)
# commit=$(git rev-parse HEAD^\{commit\})
# commit=${commit:0:6}
NEW_APP_VERSION=2023.5-dev-17296f
commit=17296f
NEW_APP_VERSION=$(cargo run -q --manifest-path="$APP_DIR/Cargo.toml" --bin mullvad-version)
commit=$(git rev-parse HEAD^\{commit\})
commit=${commit:0:6}

TAG=$(git describe --exact-match HEAD 2>/dev/null || echo "")

Expand Down

0 comments on commit 4b1f2e7

Please sign in to comment.