-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): fix tagging behavior for prod (#4257)
this commit fixes a regression introduced in #4235. the commit made the assumption that the npm tag will always be present: d19538e#diff-a8c342d5def4847ce523d42113bc62856f35e802a444ec746839c39018f62017L180-R229. when in fact that is not the case. an npm tag is assumed to be the 'latest' when it is empty. with this commit, the precedence of npm tags is updated to prefer specified tags, a valid npm tag, then null (previously a valid npm tag, a specified tag, then 'UNKNOWN') was preferred). this allows for a specified tag to continue to take priority over a 'latest' tag, while reintroducing 'null' for the latest tag.
- Loading branch information
1 parent
4e588c9
commit 6c5c984
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters