diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-02-10 02:19:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 02:19:33 +0800 |
commit | 58f1939ec1d3b894b6508b06ed8f276c5d1a462d (patch) | |
tree | 7573bd906a1f730981ae00fefc006bdf6624c95b /packages/assert | |
parent | 936f6ac10fe55257d846204ce4e5bd39ca27c78d (diff) | |
parent | d7a7e28925257860b4fea9c523eb46c8b98ab511 (diff) | |
download | dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar.gz dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar.bz2 dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar.lz dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar.xz dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.tar.zst dexon-sol-tools-58f1939ec1d3b894b6508b06ed8f276c5d1a462d.zip |
Merge pull request #382 from 0xProject/feature/clean-post-publish-scripts
Simplify standard postpublish script and remove them from some privat…
Diffstat (limited to 'packages/assert')
-rw-r--r-- | packages/assert/scripts/postpublish.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/packages/assert/scripts/postpublish.js b/packages/assert/scripts/postpublish.js index 16d67e03f..b3e5407c8 100644 --- a/packages/assert/scripts/postpublish.js +++ b/packages/assert/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 |