Skip to content

Commit

Permalink
Add a static file serving the build's git revision
Browse files Browse the repository at this point in the history
  • Loading branch information
wioux committed Mar 21, 2017
1 parent ab962df commit 74a5e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if [ "$(tr '[:upper:]' '[:lower:]' <<<"$NODE_ENV")" = "production" ]; then
npm run build:prod
git rev-parse HEAD >.build/revision
fi


Expand Down

0 comments on commit 74a5e70

Please sign in to comment.