grunt release - fixed typo and logic error