release: update for flutter 3.13.0 (#204)

Signed-off-by: Hidenori Matsubayashi <Hidenori.Matsubayashi@gmail.com>
This commit is contained in:
Hidenori Matsubayashi
2023-08-17 01:45:11 +00:00
committed by GitHub
parent 4d747457cd
commit dd7d8cb2c5
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1 +1,2 @@
efbf63d9c66b9f6ec30e9ad4611189aa80003d31
3.13.0
+4 -2
View File
@@ -36,9 +36,12 @@ function update_flutter() {
exit 1
fi
local version="$(head -n 1 "$ROOT_DIR/bin/internal/flutter.version")"
local tag="$(sed -n 2p "$ROOT_DIR/bin/internal/flutter.version")"
# Clone flutter repo if not installed.
if [[ ! -d "$FLUTTER_DIR" ]]; then
git clone --depth=1 "$FLUTTER_REPO" "$FLUTTER_DIR"
git clone --depth=1 "$FLUTTER_REPO" "$FLUTTER_DIR" -b "$tag"
fi
# GIT_DIR and GIT_WORK_TREE are used in the git command.
@@ -46,7 +49,6 @@ function update_flutter() {
export GIT_WORK_TREE="$FLUTTER_DIR"
# Update flutter repo if needed.
local version="$(cat "$ROOT_DIR/bin/internal/flutter.version")"
if [[ "$version" != "$(git rev-parse HEAD)" ]]; then
git reset --hard
git clean -xdf