From e24ce47be14ef4865f8d579fb44e9856470d5827 Mon Sep 17 00:00:00 2001 From: Alan Friedman Date: Mon, 13 May 2019 10:10:16 -0400 Subject: [PATCH] Use Heroku env var for commit sha --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5e4e866..484d94f 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ echo "building client..." cd client yarn --production=false -REACT_APP_COMMIT_SHA=`git rev-parse --short HEAD` \ +REACT_APP_COMMIT_SHA=$SOURCE_VERSION \ REACT_APP_API_HOST=$API_HOST \ REACT_APP_API_PROTOCOL=$API_PROTOCOL \ REACT_APP_API_PORT=$API_PORT \