#!/bin/bash FILENAME=public/build/build_id.svg cd $(git rev-parse --show-toplevel) cd frontend cat > $FILENAME < image/svg+xml EOF git rev-parse HEAD >> $FILENAME cat >> $FILENAME < EOF