Check to see if the feature is published before attempting it publish it.