restify / restify/node-restify
maintenance branch releases accidentally blow away "latest" npm dist-tag
Open
@trentm is already working on this.
Since Jun 29, 2017.
Critical
Feature
Help Wanted
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 975
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
Currently on the 4.x branch (now a maintenance branch since 5.0.0 has been released), the make cutarelease target is used to tag and publish a new release. npm publish however will implicitly assign the 'latest' dist tag to this releae. We don't want that for 4.x, because 5.x releases should stay as the "latest".
Proposal: Use npm publish --tag=latest-4. Explicitly using a tag gets npm publish to not implicitly use 'latest'. I'm copying npm's own "latest-$majorver" pattern here:
$ npm info npm dist-tags
{ latest: '5.0.4',
next: '5.0.4',
'latest-2': '2.15.12',
'next-2': '2.15.12',
'latest-1': '1.4.29',
lts: '2.15.11',
'latest-3': '3.10.10',
'next-3': '3.10.10',
'latest-4': '4.6.1',
'next-4': '4.6.1',
'latest-5': '5.0.4',
'next-5': '5.0.4',
'v5.0-next': '5.0.4' }
@retrohacker Sound good?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.