I created a branch LP700193. In that branch I modified the version string generated to get rid of the number of commits since the tag.
If we were to tag commit 9c5c7462b5e0b5b2d76bddfc383b820b57da45a0 as 'v4.0.0' then this would produce a version string: v4.0.0-ge6711103. I think this is a good solution.
I'm not sure how the script is supposed to work, but it looks like it also needs a signed tag. The script also uses "tr" which may not be available on all platforms (I read that somewhere, but I don't remember where).
I created a branch LP700193. In that branch I modified the version string generated to get rid of the number of commits since the tag.
If we were to tag commit 9c5c7462b5e0b5b 2d76bddfc383b82 0b57da45a0 as 'v4.0.0' then this would produce a version string: v4.0.0-ge6711103. I think this is a good solution.
I'm not sure how the script is supposed to work, but it looks like it also needs a signed tag. The script also uses "tr" which may not be available on all platforms (I read that somewhere, but I don't remember where).