Version info shouldn't fail if the project doesn't use Git
pieterclaerhout opened this issue · 0 comments
pieterclaerhout commented
Now, it's doing:
> Compiling for darwin/amd64 using go1.13.4
> Setting ProjectName = "dev-dashboard-app"
> Setting Version = "1.0.0"
> Setting Revision = "fatal: not a git repository (or any of the parent directories): .git"
> Setting Branch = "fatal: not a git repository (or any of the parent directories): .git"
What should happen:
> Compiling for darwin/amd64 using go1.13.4
> Setting ProjectName = "dev-dashboard-app"
> Setting Version = "1.0.0"