2 ms·
> LATEST_HASH=$(git log -1 --pretty=format:%h) LATEST_HASH=$(git rev-parse --short HEAD) is the more normal way to do that. It also looks like you'll have do
by TheDong 10y ago
> LATEST_HASH=$(git log -1 --pretty=format:%h)
LATEST_HASH=$(git rev-parse --short HEAD)
is the more normal way to do that.
It also looks like you'll have downtime due to deleting then running. Eww.