aboutsummaryrefslogblamecommitdiffstats
path: root/packages/json-schemas/scripts/postpublish.js
blob: 8930521f10e2bf488531f53f76259ba9d2400ef0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                      
const postpublish_utils = require('../../../scripts/postpublish_utils');

const subPackageName = '0xproject/json-schemas';

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;
    });