aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert/scripts/postpublish.js
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-13 04:53:11 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-13 05:16:45 +0800
commitfeace988b4f6f361adb45ed17f16c3d7f5d9a514 (patch)
treeb848f8681cf69372f71316f3244bb73629370512 /packages/assert/scripts/postpublish.js
parent4d30e1115f24905fb51c482abc147ffdd7d0f8ec (diff)
downloaddexon-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/postpublish.js')
-rw-r--r--packages/assert/scripts/postpublish.js5
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;
});