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/monorepo-scripts/scripts/postpublish.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 packages/monorepo-scripts/scripts/postpublish.js (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/scripts/postpublish.js b/packages/monorepo-scripts/scripts/postpublish.js deleted file mode 100644 index 16d67e03f..000000000 --- a/packages/monorepo-scripts/scripts/postpublish.js +++ /dev/null @@ -1,15 +0,0 @@ -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; - }); -- cgit v1.2.3