drone-plugins / drone-npm

Drone plugin for publishing packages to NPM
http://plugins.drone.io/drone-plugins/drone-npm
Apache License 2.0
20 stars 18 forks source link

Multiple tag, from file #55

Closed ADIX7 closed 4 years ago

ADIX7 commented 4 years ago

In drone-docker there is option for multiple tags and also they can be in a file. I find it very usefull because a previous step can generate tags eg based on commit hash, branch name etc.

tboerger commented 4 years ago

@donny-dont what do you think about that? You are the NPM plugin master :)

donny-dont commented 4 years ago

I'm open to expanding capabilities but are multiple tags actually used in NPM? It isn't like docker in terms of tagging. NPM versions are semantic versioning and you can pass --tag to make the tag something other than latest. So for example you could have a beta track or next track. I don't think I've ever seen anyone want multiple dist tags on a single version though.