From 6dec29e214e6c9f222a7673efd97d21b3952b090 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Thu, 8 Feb 2018 11:23:37 -0800 Subject: Simplify standard postpublish script and remove them from some private packages --- packages/types/scripts/postpublish.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'packages/types') diff --git a/packages/types/scripts/postpublish.js b/packages/types/scripts/postpublish.js index 7fa452b08..b3e5407c8 100644 --- a/packages/types/scripts/postpublish.js +++ b/packages/types/scripts/postpublish.js @@ -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); \ No newline at end of file -- cgit