From 2d42c165cfbc8ddc1b2392a45dfc0970d31b79ec Mon Sep 17 00:00:00 2001 From: nturgut Date: Fri, 2 Oct 2020 12:41:39 -0700 Subject: [PATCH] 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 --- tools/configure_framework_commit.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/configure_framework_commit.sh b/tools/configure_framework_commit.sh index 590f9469748..2736dce3904 100755 --- a/tools/configure_framework_commit.sh +++ b/tools/configure_framework_commit.sh @@ -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