buildhistory-init/collect-results: Use a tag to make buildhistory data consistent

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2019-02-23 17:23:52 +00:00
parent a0963045de
commit f19aa61cd6
2 changed files with 3 additions and 1 deletions

View File

@ -28,3 +28,4 @@ else
git add README
git commit -s -m 'Initializing Buildhistory'
fi
git tag ab-fetchrev

View File

@ -12,5 +12,6 @@ fi
if [ -e $WORKDIR/buildhistory ]; then
mkdir -p $DEST/$target
$WORKDIR/../scripts/buildhistory-diff -p $WORKDIR/buildhistory > $DEST/$target/buildhistory.txt
# ab-fetchrev tag set in buildhistory-init
$WORKDIR/../scripts/buildhistory-diff -p $WORKDIR/buildhistory ab-fetchrev > $DEST/$target/buildhistory.txt
fi