liuxiran opened a new issue #447:
URL: https://github.com/apache/apisix-ingress-controller/issues/447
### Issue description
### Environment
* your apisix-ingress-controller version (output of
`apisix-ingress-controller version --long`);
Version: 0.5.0
Git SHA:
Go Version: go1.14.6
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
* your Kubernetes cluster version (output of `kubectl version`);
* if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (`uname -a`).
fc32.x86_64
### Minimal test code / Steps to reproduce the issue
1. download release src
https://github.com/apache/apisix-ingress-controller/archive/refs/tags/0.5.0.zip
2. unzip, run `make build` under the `apisix-ingress-controller-0.5.0` folder
### What's the actual result? (including assertion message & call stack if
applicable)
An error message appears

### What's the expected result?
No error message appears would be better.
ps: It seems that the variable `GITSHA` is the key point, for there is no
`.git` in release src folder.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]