Open rtsisyk opened 7 years ago
How about something like https://regex101.com/r/XGROt4/1
Yes better but ideally it needs to account for examples like you have, but then followed by Commit# and Commit hash as per git describe returns. 1.30.0-rc1-14-geef95da, so 1.30.0-rc1 is version, which will become 1.30.0 as the final version. Release is 14-geef95da. I think for now we are setting the version manually.
How about something like https://regex101.com/r/XGROt4/1
I'm not sure that it is safe to use "-" in VERSION, especially for Debian packages.
From @SteveGilvarry: