diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-13 04:53:11 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-13 05:16:45 +0800 |
commit | feace988b4f6f361adb45ed17f16c3d7f5d9a514 (patch) | |
tree | b848f8681cf69372f71316f3244bb73629370512 /packages/assert/scripts | |
parent | 4d30e1115f24905fb51c482abc147ffdd7d0f8ec (diff) | |
download | dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.gz dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.bz2 dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.lz dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.xz dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.zst dexon-sol-tools-feace988b4f6f361adb45ed17f16c3d7f5d9a514.zip |
Add postpublish scripts
Diffstat (limited to 'packages/assert/scripts')
-rw-r--r-- | packages/assert/scripts/postpublish.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/assert/scripts/postpublish.js b/packages/assert/scripts/postpublish.js index 7fa452b08..16d67e03f 100644 --- a/packages/assert/scripts/postpublish.js +++ b/packages/assert/scripts/postpublish.js @@ -3,12 +3,13 @@ const packageJSON = require('../package.json'); const subPackageName = packageJSON.name; -postpublish_utils.getLatestTagAndVersionAsync(subPackageName) +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) { + .catch(function(err) { throw err; }); |