The build process currently does not handle the situation where there is no git metadata. This can occur if a user downloads this project as a ZIP, rather than via git clone.
The usual format of builds is currently: <commit hash>.<branch name>(<user>).<timestamp>
As a result, with no metadata the tag becomes: .(<user>).<timestamp>
Aside from being rubbish, this causes issues because the leading . means the build will be output into a hidden directory, potentially confusing the user when they have xptc/ with no contents.
The build process currently does not handle the situation where there is no git metadata. This can occur if a user downloads this project as a ZIP, rather than via
git clone
.The usual format of builds is currently:
<commit hash>.<branch name>(<user>).<timestamp>
As a result, with no metadata the tag becomes:
.(<user>).<timestamp>
Aside from being rubbish, this causes issues because the leading
.
means the build will be output into a hidden directory, potentially confusing the user when they havexptc/
with no contents.