docker_flutter icon indicating copy to clipboard operation
docker_flutter copied to clipboard

Observe flutter tags with git

Open PlugFox opened this issue 2 years ago • 0 comments

Build specific version at major versions.

git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' \
  --tags https://github.com/flutter/flutter.git '*.*.*' \
  | cut -d '/' -f 3 \
  | grep -e "^[0-9]\+\.[0-9]\+\.[0-9]\+$" \
  | tail -n 1

PlugFox avatar Dec 08 '23 15:12 PlugFox