@Keldor, not sure what is going on with your command but I have a cross platform NPM utility that can publish addons from the command line that worked correctly for me last time I used it.
https://www.esoui.com/downloads/info...i-publish.html
https://www.npmjs.com/package/esoui-publish