Follow

@sir Do you know git-version-gen? I use it for my project and while I still get a lot of fuckups, at least the version is consistent between the git repo and all places in the source where the version is needed.

If not, it is a gnulib module (but you can just download the script) that will compute the correct version based on the signed tags in your git repo (for instance, if you checkout the tag named v1.3.4 then calling git-version-gen will yield 1.3.4).

git.savannah.gnu.org/cgit/gnul

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!