afbobak / nopar

Node PAckage Registry
http://afbobak.github.io/nopar/
Other
42 stars 13 forks source link

Keep latest tag at latest version is published version is smaller #21

Closed afbobak closed 10 years ago

afbobak commented 10 years ago

Currently if there's a package with version 2.0 in the repository and a package with version 1.9 gets published, 1.9 will be tagged as "latest". This pull request leaves the latest tag untouched if a package with a smaller version is published.