* script for fetching correct flutter version
* change cirrus yml for the script location
* change location of the script. Add it to tools
* cirrus still does not see the script. repeat path change from the previous step
* Looks like script worked correctly. do not change directory.
* change directory back to build root after scriot is run
* script runs ok. Still not able to find the bin directory. go all the way back
* still can't see the bin directory. carry the script content to cirrus.yml to debug better
* get the last commit id of the right repository
* content of the script worked in cirrus. call the script from tools
* cannot find the script under tools
* print the current path in the script to see why cirrus cannot see bin directory
* move to flutter path before running update packages
* tests run now. remove print outs
* error if the ENGINE_PATH is not set. exit the script
* addressing reviewer comments
* engine branch name on cirrus logs doesn't make sense
* fix typo
* change the directory of branch calculation
* remove extra logs
* addressing PR comments. Testing CIRRUS_CI env variable
* adding CIRRUS_CI check