It's possible for users to download the library from Github without any git history ("Download ZIP" button). Currently that seems to use the template config assuming it's a release. Instead I was wondering if there could be a config option for when there's no git information available so I could write out the version as 2.1+unknown instead of 2.1 so I don't have users who installed a development version in this way reporting the error as version 2.1 as if it were the released version and not some random other version.
It's possible for users to download the library from Github without any git history ("Download ZIP" button). Currently that seems to use the
templateconfig assuming it's a release. Instead I was wondering if there could be a config option for when there's no git information available so I could write out the version as2.1+unknowninstead of2.1so I don't have users who installed a development version in this way reporting the error as version 2.1 as if it were the released version and not some random other version.