kubnav: fix flutter version

This commit is contained in:
linsui 2023-10-17 10:25:42 +08:00
parent 498805dcb4
commit 156fe31a7c

View file

@ -498,7 +498,7 @@ Builds:
- macos
- windows
prebuild:
- flutterVerion=$(sed -n -E "s/.*flutter-version:\s'([0-9.])'/\1/p" .github/workflows/continuous-delivery.yaml
- flutterVerion=$(sed -n -E "s/.*flutter-version:\s'([0-9.]+)'/\1/p" .github/workflows/continuous-delivery.yaml
| head -n 1)
- pushd $$flutter$$
- git checkout -f $flutterVerion