File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ This section tracks the u-boot revision within this repo.
1616 * **License:** GPLv2
1717 * **Source Code:** %%GIT_REPO%%
1818 * **Date:** %%GIT_DATE%%
19- * **GIT Hash :** %%GIT_HASH%%
19+ * **GIT Commit :** %%GIT_HASH%% %%GIT_DESC %%
2020* **Toolchain:** http://cgit.haiku-os.org/buildtools/
2121 * **Toolchain version:** %%CROSS_TOOL_VERSION%%
2222* **Build Commands:**
Original file line number Diff line number Diff line change 5959echo " Calculating dates..."
6060GIT_DATE=$( git -C $TMP log -1 --format=%cd)
6161GIT_HASH=$( git -C $TMP log -1 --format=%H)
62+ GIT_DESC=$( git -C $TMP describe)
6263
6364echo " Locating work..."
6465WORK_QUEUE=$( find $TARGET_ARCH / -mindepth 1 -type d)
@@ -135,6 +136,7 @@ for dir in $WORK_QUEUE; do
135136 sed -i " s^%%GIT_REPO%%^$GIT_REPO ^g" $dir /README.md
136137 sed -i " s^%%GIT_DATE%%^$GIT_DATE ^g" $dir /README.md
137138 sed -i " s^%%GIT_HASH%%^$GIT_HASH ^g" $dir /README.md
139+ sed -i " s^%%GIT_DESC%%^$GIT_DESC ^g" $dir /README.md
138140 sed -i " s^%%BOARD%%^$NAME ^g" $dir /README.md
139141 sed -i " s^%%FILES%%^$FILES ^g" $dir /README.md
140142 sed -i " s^%%CONFIG%%^$CONFIG ^g" $dir /README.md
You can’t perform that action at this time.
0 commit comments