-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/read-version: fix the tool so that it can handle version parsin…
…g errors git describe may not return version/tags in the format that the read-version tool expects. Make the tool robust so that it can gracefully handle version strings that are not in the regular format. We use regex to capture the details we care about, but if we cannot find them, we won't traceback and will continue to use version and version_long as expected. Signed-off-by: Ani Sinha <[email protected]>
- Loading branch information
Showing
1 changed file
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters