Fixing grunt release task to work properly with :major :minor sub-tasks.