RTEMS | waf: Fix handling of the VERSION file in a release (!257)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Oct 22 01:16:44 UTC 2024




Sebastian Huber started a new discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113433

 >  
 >  is_windows_host = os.name == "nt" or sys.platform in ["msys", "cygwin"]
 >  version = {
 > -    "__RTEMS_MAJOR__": "6",
 > -    "__RTEMS_MINOR__": "0",
 > -    "__RTEMS_REVISION__": "0",
 > -    "RTEMS_VERSION_CONTROL_KEY": "git"
 > +    "__RTEMS_MAJOR__": "6",  # version
 > +    "__RTEMS_MINOR__": "0",  # revision
 > +    "__RTEMS_REVISION__": "0",  # not used
 > +    "RTEMS_VERSION_LABEL": "not-released"

Why do we have `RTEMS_VERSION_LABEL` and `rtems_version_release_label()`? Should this be `RTEMS_VERSION_RELEASE_LABEL`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113433
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241022/98164865/attachment.htm>


More information about the bugs mailing list