Simplify standard postpublish script and remove them from some private packages

This commit is contained in:
Brandon Millman
2018-02-08 11:23:37 -08:00
parent 254d3f53e2
commit 6dec29e214
17 changed files with 26 additions and 194 deletions

View File

@@ -2,13 +2,4 @@ const postpublish_utils = require('../../../scripts/postpublish_utils');
const packageJSON = require('../package.json');
const subPackageName = packageJSON.name;
postpublish_utils.getLatestTagAndVersionAsync(subPackageName)
.then(function(result) {
const releaseName = postpublish_utils.getReleaseName(subPackageName, result.version);
const assets = [];
return postpublish_utils.publishReleaseNotes(result.tag, releaseName, assets);
})
.catch (function(err) {
throw err;
});
postpublish_utils.standardPostPublishAsync(subPackageName);