diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-11-21 05:12:15 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-12-13 07:45:22 +0800 |
commit | bbb768c5cfa8bf713670608f859debae42b42898 (patch) | |
tree | 40ae6f11995fa44a1ee58092a8308faac63abec4 /packages/kovan-faucets/scripts/postpublish.js | |
parent | 5678196706a63d27fc5b00b5224c8213510e76f0 (diff) | |
download | dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar.gz dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar.bz2 dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar.lz dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar.xz dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.tar.zst dexon-sol-tools-bbb768c5cfa8bf713670608f859debae42b42898.zip |
Add kovan faucet project into the mono repo
Diffstat (limited to 'packages/kovan-faucets/scripts/postpublish.js')
-rw-r--r-- | packages/kovan-faucets/scripts/postpublish.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/kovan-faucets/scripts/postpublish.js b/packages/kovan-faucets/scripts/postpublish.js new file mode 100644 index 000000000..7fa452b08 --- /dev/null +++ b/packages/kovan-faucets/scripts/postpublish.js @@ -0,0 +1,14 @@ +const postpublish_utils = require('../../../scripts/postpublish_utils'); +const packageJSON = require('../package.json'); + +const subPackageName = packageJSON.name; + +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) { + throw err; + }); |