baggio63446333 commented on pull request #4144:
URL: https://github.com/apache/incubator-nuttx/pull/4144#issuecomment-879083818
@davids5
Yes, it Is another problem.
Would your problem be solved if I pushed the following change?
```diff
diff --git a/tools/version.sh b/tools/version.sh
index 5e54eae3b7..51bb4ad220 100755
--- a/tools/version.sh
+++ b/tools/version.sh
@@ -75,7 +75,7 @@ if [ -z ${VERSION} ] ; then
# If the VERSION does not match X.Y.Z, retrieve version from the tag
- if [[ ! ${VERSION} =~ ([0-9]+)\.([0-9]+)\.([0-9]+) ]] ; then
+ if [[ ! ${VERSION} =~ nuttx-([0-9]+)\.([0-9]+)\.([0-9]+) ]] ; then
VERSION=`git -C ${WD} tag --sort=taggerdate | grep -E
"nuttx-[0-9]+\.[0-9]+\.[0-9]+" | tail -1 | cut -d'-' -f2-`
fi
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]