commit before building