[riot-notifications] [RIOT-OS/RIOT] build system: add machine-readable RIOT_VERSION_CODE macro (#16765)

Kaspar Schleiser notifications at github.com
Mon Sep 20 23:17:07 CEST 2021

@kaspar030 commented on this pull request.

> @@ -475,7 +475,7 @@ endif
 # set some settings useful for continuous integration builds
 ifeq ($(RIOT_CI_BUILD),1)
-    RIOT_VERSION ?= buildtest
+    RIOT_VERSION ?= $(shell git describe --abbrev=0)

I don't like forcing the riot version string define into some format that is based on git or anything.
Linux doesn't do that either, they have manual version defines.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210920/baabd7d7/attachment.htm>

More information about the notifications mailing list