MEN-Mikro-Elektronik / 13MD05-90

MDIS5 System Package for Linux (including drivers)
Other
4 stars 4 forks source link

Pull Request to use tag date instead of last commit date in STAMPED_VERSION #301

Closed mad-jrodriguez closed 1 year ago

mad-jrodriguez commented 1 year ago

Currently, the STAMPED_VERSION that is printed in each submodule's Makefile is got from the latest commit date, however, if more than one tag point to the same commit hash, the STAMPED_VERSION will be always the same.

The changes proposed here just get the tag date so every time a new tag is created, the STAMPED_VERSION will change, even if it points to the same commit.

mad-jrodriguez commented 1 year ago

Hi @dpfeuffer

I've tested it and it seems to work fine, anyway, if something has failed, the script should work with the "old" method.