Fix a typo in postpublish utils tags -> tag

This commit is contained in:
Leonid Logvinov
2017-11-21 13:43:39 -06:00
parent 9a2735d035
commit e3cc283478

View File

@@ -9,7 +9,7 @@ const githubPersonalAccessToken = process.env.GITHUB_PERSONAL_ACCESS_TOKEN_0X_JS
module.exports = {
getLatestTagAndVersionAsync: function(subPackageName) {
const subPackagePrefix = subPackageName + '@';
const gitTagsCommand = 'git tags -l "' + subPackagePrefix + '*"';
const gitTagsCommand = 'git tag -l "' + subPackagePrefix + '*"';
return execAsync(gitTagsCommand)
.then(function(result) {
if (result.stderr !== '') {