Question about versions

2022-05-25 Thread Roberto Bucher

Hi

I have a local version of nuttx, and an access to the incubator nuttx 
repository through the git remote with this configuration:


bucher@debian:~/sviluppo/NUTTX/nuttx$ git remote -v
origin g...@github.com:robertobucher/incubator-nuttx.git (fetch)
origin g...@github.com:robertobucher/incubator-nuttx.git (push)
upstream https://github.com/apache/incubator-nuttx.git (fetch)
upstream https://github.com/apache/incubator-nuttx.git (push)


I did a

git pull upstream master

and it seems that my local version is updated



When I build an image, the version that I have in the nsh is 10.1.0!

I cloned another nuttx folder directly from the incubator, I built an 
image, but in this new build the version is


NuttX-10.3.0-RC2

What is wrong in my local version?

Thanks in advance

Roberto

Re: Question about versions

2022-05-25 Thread Abdelatif Guettouche
Do you have the latest tags in your first version?
You can get them with: git pull upstream --tags

On Wed, May 25, 2022 at 4:22 PM Roberto Bucher 
wrote:

> Hi
>
> I have a local version of nuttx, and an access to the incubator nuttx
> repository through the git remote with this configuration:
>
> bucher@debian:~/sviluppo/NUTTX/nuttx$ git remote -v
> origing...@github.com:robertobucher/incubator-nuttx.git (fetch)
> origing...@github.com:robertobucher/incubator-nuttx.git (push)
> upstreamhttps://github.com/apache/incubator-nuttx.git (fetch)
> upstreamhttps://github.com/apache/incubator-nuttx.git (push)
>
>
> I did a
>
> git pull upstream master
>
> and it seems that my local version is updated
>
>
>
> When I build an image, the version that I have in the nsh is 10.1.0!
>
> I cloned another nuttx folder directly from the incubator, I built an
> image, but in this new build the version is
>
> NuttX-10.3.0-RC2
>
> What is wrong in my local version?
>
> Thanks in advance
>
> Roberto
>