Skip to content

Commit

Permalink
Writing the commit no to a text file (flutter#21546)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nturgut authored Oct 2, 2020
1 parent 4f2ed60 commit 2d42c16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/configure_framework_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d42c16

Please sign in to comment.