未验证 提交 2d42c165 编写于 作者: N nturgut 提交者: GitHub

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
上级 4f2ed609
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册