anchao opened a new pull request #1331:
URL: https://github.com/apache/incubator-nuttx/pull/1331


   ## Summary
   make/version: correct the version generation 
   
   incorrect version generation by commit 
3ec12a84c29d549d3de1e077f05bfb07ff315de5
   
   ## Impact
   
   ## Testing
   
   `./tools/configure.sh stm32f429i-disco:nsh V=1`
   
   Before patch:
   
   ```
   $ cat .version 
   #!/bin/bash
   
   CONFIG_VERSION_STRING="0.0.0"
   CONFIG_VERSION_MAJOR=0
   CONFIG_VERSION_MINOR=0
   CONFIG_VERSION_PATCH=0
   CONFIG_VERSION_BUILD="0"
   ```
   
   After patch:
   
   ```
   $ cat .version
   #!/bin/bash
   
   CONFIG_VERSION_STRING="9.1.0"
   CONFIG_VERSION_MAJOR=9
   CONFIG_VERSION_MINOR=1
   CONFIG_VERSION_PATCH=0
   CONFIG_VERSION_BUILD="58dd6aa"
   ```
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to