RTEMS | waf: Fix handling of the VERSION file in a release (!257)
Chris Johns (@chris)
gitlab at rtems.org
Mon Oct 28 04:17:06 UTC 2024
Chris Johns commented on a discussion on wscript: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113859
> + ctx.fatal("Invalid VERSION revision: too many dots")
> + if "-" in vs[0]:
> + value = vs[0]
> + vs = value.split("-", 1)
> + version_label = vs[1]
> + version_minor = vs[0]
> + prefix = "/opt/rtems/" + version_major
> + except configparser.NoOptionError:
> + pass
> + if version_major is not None:
> + version["__RTEMS_MAJOR__"] = version_major
> + if version_minor is not None:
> + version["__RTEMS_MINOR__"] = version_minor
> + if version_label is not None:
> + version["RTEMS_RELEASE_VERSION_LABEL"] = version_label
> + # Checking minor insures major and minor are valid
Fixed
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113859
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/20241028/1ae47a0e/attachment-0001.htm>
More information about the bugs
mailing list