aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
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/abi-gen
parent4d30e1115f24905fb51c482abc147ffdd7d0f8ec (diff)
downloaddexon-0x-contracts-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.gz
dexon-0x-contracts-feace988b4f6f361adb45ed17f16c3d7f5d9a514.tar.zst
dexon-0x-contracts-feace988b4f6f361adb45ed17f16c3d7f5d9a514.zip
Add postpublish scripts
Diffstat (limited to 'packages/abi-gen')
-rw-r--r--packages/abi-gen/scripts/postpublish.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/abi-gen/scripts/postpublish.js b/packages/abi-gen/scripts/postpublish.js
index 7fa452b08..16d67e03f 100644
--- a/packages/abi-gen/scripts/postpublish.js
+++ b/packages/abi-gen/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;
});