On Wed, Mar 7, 2018 at 8:05 AM, Timo Aaltonen <tjaal...@debian.org> wrote:
> > John Kessenich (main maintainer of glslang) is working on coming up with
> > a reasonable versioning scheme for it.  So until he does that, you may
> > want to use a scheme similar to what I did, that will be overridden with
> > whatever he comes up with.  The bug to track what he's doing is here:
> >
> > https://github.com/KhronosGroup/glslang/issues/1255
> Looks like there's now 5.0 released yesterday, which is nice. If only
> spirv-headers got tagged..

Although spirv-headers isn't tagged, it's not too hard to version.
The headers API is versioned, and is currently at 1.2, so I simply
counted the number of commits in master, and added it to the end of
"1.2.".  This is the script I put in my package to generate a version




 NB_OF_COMMITS=`git log --oneline $COMMON_ANCESTOR | wc -l`
 echo "1.2.$NB_OF_COMMITS"

Reply via email to