mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Writing the commit no to a text file (#21546)
* setting an env variable using commit no * change variable name * try to use ref no as string * use echo for output * remove all the other stdout * echo json instead of only the commit no * use the file method * list the directory contents * remove pwd. print flutter version verbose
This commit is contained in:
parent
4f2ed6092b
commit
2d42c165cf
@ -31,5 +31,8 @@ COMMIT_NO=`git log --before="$LATEST_COMMIT_TIME_ENGINE" -n 1 | grep commit | cu
|
||||
echo "Using the flutter/flutter commit $COMMIT_NO";
|
||||
git reset --hard $COMMIT_NO
|
||||
|
||||
# Write the commit number to a file. This file will be read by the LUCI recipe.
|
||||
echo "$COMMIT_NO" >> flutter_ref.txt
|
||||
|
||||
# Print out the flutter version for troubleshooting
|
||||
$FLUTTER_CLONE_REPO_PATH/bin/flutter --version
|
||||
$FLUTTER_CLONE_REPO_PATH/bin/flutter --version -v
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user