Fix arguments for publishAdd, publishRemove and publishUpdate
Merge pull request #2421 from Mordred/master

Fix arguments for publishAdd, publishRemove and publishUpdate