flomesh-io / pipy

Pipy is a programmable proxy for the cloud, edge and IoT.
https://flomesh.io/pipy
Other
743 stars 70 forks source link

fix: git branch --show-current #24

Closed zengyuxing007 closed 2 years ago

zengyuxing007 commented 2 years ago

When using a git version lower than 3.0 , the command ”git branch --show-current“ under build.sh will report an error like inssue: https://github.com/flomesh-io/pipy/issues/23

So, replace it with another command to implement similar functionality