fix unknown flutter version issue (git tag version) (#209)
Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e712d09e46
commit
a49febf363
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user