MEN-Mikro-Elektronik / 13MD05-90

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

Improve INSTALL.sh script to include in STAMPED_VERSION the TAG date instead of date of latest commit #300

Closed mad-jrodriguez closed 1 year ago

mad-jrodriguez commented 1 year ago

Currently, the INSTALL.sh script just get the date of the latest commit to generate the STAMPED_VERSION, however, multiple tags (tags with message, no light tags), that points to the same commit, will have the same STAMPED_VERSION.

With the proposed change, the STAMPED_VERSION will change if a new tag is created, even if the tag points to the same commit hash.