We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4fd6a commit be48920Copy full SHA for be48920
tools/autobuild/autobuild.sh
@@ -61,7 +61,7 @@ make -C mpy-cross
61
# where SEMVER is vX.Y.Z or vX.Y.Z-preview.N.gHASH or vX.Y.Z-preview.N.gHASH.dirty
62
FW_DATE=$(date '+%Y%m%d')
63
# same logic as makeversionhdr.py, convert git-describe output into semver-compatible
64
-FW_GIT_TAG="$(git describe --tags --dirty --always --match 'v[1-9].*')"
+FW_GIT_TAG="$(git describe --tags --dirty --always --match 'v[1-9].*' --abbrev=10)"
65
FW_SEMVER_MAJOR_MINOR_PATCH="$(echo $FW_GIT_TAG | cut -d'-' -f1)"
66
FW_SEMVER_PRERELEASE="$(echo $FW_GIT_TAG | cut -s -d'-' -f2-)"
67
if [ -z "$FW_SEMVER_PRERELEASE" ]; then
0 commit comments