Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2d42c16

Browse files
author
nturgut
authored
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
1 parent 4f2ed60 commit 2d42c16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/configure_framework_commit.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ COMMIT_NO=`git log --before="$LATEST_COMMIT_TIME_ENGINE" -n 1 | grep commit | cu
3131
echo "Using the flutter/flutter commit $COMMIT_NO";
3232
git reset --hard $COMMIT_NO
3333

34+
# Write the commit number to a file. This file will be read by the LUCI recipe.
35+
echo "$COMMIT_NO" >> flutter_ref.txt
36+
3437
# Print out the flutter version for troubleshooting
35-
$FLUTTER_CLONE_REPO_PATH/bin/flutter --version
38+
$FLUTTER_CLONE_REPO_PATH/bin/flutter --version -v

0 commit comments

Comments
 (0)