PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

valid git tags needs format vx.y.z

Open KonradRudin opened this issue 1 year ago • 0 comments

Solved Problem

When someone wants to make a tag for internal purposes other than a release, it can still mess up the building process as part of the building process uses git describe to search for a valid tag. Also synchronizes the search for the valid_tag between different scripts.

Solution

  • Make sure that a tag must start with vX.Y.Z where X Y Z are numbers

Alternatives

Due to how globbing works we cannot guarantee that X.Y.Z are numbers, so far it only checks if it starts with a number. A regex would be better but is not directly supported by the command.

Context

Related links, screenshot before/after, video

KonradRudin avatar Aug 27 '24 11:08 KonradRudin