gomake
gomake copied to clipboard
Fail build with uncommitted changes
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