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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/json-schemas/scripts/postpublish.js b/packages/json-schemas/scripts/postpublish.js
index 8930521f1..08458f038 100644
--- a/packages/json-schemas/scripts/postpublish.js
+++ b/packages/json-schemas/scripts/postpublish.js
@@ -1,6 +1,7 @@
const postpublish_utils = require('../../../scripts/postpublish_utils');
+const packageJSON = require('../package.json');
-const subPackageName = '0xproject/json-schemas';
+const subPackageName = packageJSON.name;
postpublish_utils.getLatestTagAndVersionAsync(subPackageName)
.then(function(result) {