diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-02-09 03:23:37 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-02-09 03:46:33 +0800 |
commit | 6dec29e214e6c9f222a7673efd97d21b3952b090 (patch) | |
tree | 400a52739b2171a49c2ffd8fd452190e04807ff9 /packages/chai-as-promised-typescript-typings | |
parent | 254d3f53e2cd09eed3eb6b8ce841f546d01dcdcd (diff) | |
download | dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar.gz dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar.bz2 dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar.lz dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar.xz dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.tar.zst dexon-sol-tools-6dec29e214e6c9f222a7673efd97d21b3952b090.zip |
Simplify standard postpublish script and remove them from some private packages
Diffstat (limited to 'packages/chai-as-promised-typescript-typings')
-rw-r--r-- | packages/chai-as-promised-typescript-typings/scripts/postpublish.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/chai-as-promised-typescript-typings/scripts/postpublish.js b/packages/chai-as-promised-typescript-typings/scripts/postpublish.js index 16d67e03f..b3e5407c8 100644 --- a/packages/chai-as-promised-typescript-typings/scripts/postpublish.js +++ b/packages/chai-as-promised-typescript-typings/scripts/postpublish.js @@ -2,14 +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 |