From a49febf3635dbabf315aa64580e9771c49137c6f Mon Sep 17 00:00:00 2001 From: Hidenori Matsubayashi Date: Thu, 24 Aug 2023 19:45:13 +0000 Subject: [PATCH] fix unknown flutter version issue (git tag version) (#209) Signed-off-by: Hidenori Matsubayashi --- bin/internal/shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/internal/shared.sh b/bin/internal/shared.sh index 68e9977..24e44a0 100644 --- a/bin/internal/shared.sh +++ b/bin/internal/shared.sh @@ -52,7 +52,7 @@ function update_flutter() { if [[ "$version" != "$(git rev-parse HEAD)" ]]; then git reset --hard git clean -xdf - git fetch --depth=1 "$FLUTTER_REPO" "$version" + git fetch --depth=1 "$FLUTTER_REPO" "$version" --tags git checkout FETCH_HEAD # Invalidate the cache.