Cb-7904: Pull request for nightlys

Since publishTag is called from main.js, you shouldn't do anything funny with the argv.

instead though, maybe make a helper function that both publishTag and nightly call into that have the args already parsed out?

e.g. 
publishTagCommand(argv)
publishTag(tag, repos, pretend)