gomake icon indicating copy to clipboard operation
gomake copied to clipboard

Fail build with uncommitted changes

Open nohusuro opened this issue 8 years ago • 0 comments

Hi,

I really like this build process and using the latest git hash for the build. I do however see the possibility that someone could modify the code, forget to commit, then rebuild. This would result in the same git commit hash being used as the previous binary, but with the binary obviously being different.

In order to remove the possibility of human error, is there a way to fail the build if there are uncommitted changes, or if the changes have not been stashed?

Thanks

-- nohusuro

nohusuro avatar Apr 05 '17 08:04 nohusuro