imjoey commented on a change in pull request #1162:
URL: https://github.com/apache/apisix-dashboard/pull/1162#discussion_r550238934



##########
File path: api/build.sh
##########
@@ -20,6 +20,7 @@ export ENV=local
 pwd=`pwd`
 
 VERSION=$(cat ./api/VERSION)
+GITHASH=$(git log --pretty=format:"%h" -1)

Review comment:
       @membphis @juzhiyuan @nic-chen @tokers
   
   Thank you all for reviewing and suggestions. How about try to get the git 
hash from `./.githash` first, if that file does not exist, we use the `.git` 
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]


Reply via email to