diff options
Diffstat (limited to 'packages/assert/scripts/postpublish.js')
-rw-r--r-- | packages/assert/scripts/postpublish.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/assert/scripts/postpublish.js b/packages/assert/scripts/postpublish.js new file mode 100644 index 000000000..b583155d2 --- /dev/null +++ b/packages/assert/scripts/postpublish.js @@ -0,0 +1,13 @@ +const postpublish_utils = require('../../../scripts/postpublish_utils'); + +const subPackageName = '0xproject/assert'; + +postpublish_utils.getLatestTagAndVersionAsync(subPackageName) + .then(function(result) { + const releaseName = subPackageName + ' v' + result.version; + const assets = []; + return postpublish_utils.publishReleaseNotes(result.tag, releaseName, assets); + }) + .catch (function(err) { + throw err; + }); |