We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24efa2 commit 3c5af9aCopy full SHA for 3c5af9a
test/dart/test.sh
@@ -20,7 +20,7 @@ check_packages() {
20
}
21
22
check_packages git
23
-LATEST_VERSION="$(git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP "(?<=refs/tags)/[0-9]+\\.[0-9]+\\.[0-9]+$" | sort -V | tail -n 1)"
+LATEST_VERSION="$(git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP "(?<=refs/tags/)[0-9]+\\.[0-9]+\\.[0-9]+$" | sort -V | tail -n 1)"
24
25
check 'dart' bash -c "dart --version | grep ${LATEST_VERSION}"
26
0 commit comments