Store last commit hash against builds