Look at the hidden file .version.  You will need to modify that file as you see fit.  It is not controlled under GIT (but is provided with each new  release package).

On 1/3/2023 2:38 AM, Jernej Turnsek wrote:
Hi All,

when building the latest NuttX OS from git, I am having problems with
.version file, where wrong version is used. Running the git describe, I
get nuttx-8.2-12100-g56c6943311, although I have the latest code. I have
updated the local repo from upstream with --prune and --prune- tags option
to get the latest tagging, but all the tags after 8.2 are on releases and
not the master branch, thus describe command is not seeing them. I was also
trying to manually run the version.sh script, but make command is always
overriding the version. How to get around the problem, without using the
release?

Thanks, Jernej


Reply via email to