aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/scripts/postpublish.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/json-schemas/scripts/postpublish.js')
-rw-r--r--packages/json-schemas/scripts/postpublish.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/json-schemas/scripts/postpublish.js b/packages/json-schemas/scripts/postpublish.js
index 7fa452b08..16d67e03f 100644
--- a/packages/json-schemas/scripts/postpublish.js
+++ b/packages/json-schemas/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;
});