Dump the git hash

This commit is contained in:
Lup Yuen Lee 2023-08-11 18:19:07 +08:00 committed by GitHub
parent 1d3433a516
commit 0a5e9ee975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,9 @@ jobs:
cd nuttx/nuttx cd nuttx/nuttx
## Dump the git hash ## Dump the git hash
git status && hash1=`git rev-parse HEAD` hash1=`git rev-parse HEAD`
pushd ../apps pushd ../apps
git status && hash2=`git rev-parse HEAD` hash2=`git rev-parse HEAD`
popd popd
echo NuttX Source: https://github.com/apache/nuttx/tree/$hash1 >nuttx.hash echo NuttX Source: https://github.com/apache/nuttx/tree/$hash1 >nuttx.hash
echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$hash2 >>nuttx.hash echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$hash2 >>nuttx.hash