Fix a bug in the publish assets method