aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config/scripts/postpublish.js
blob: c6e1b363005400754ae0020d067aff8e46bcd663 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
const postpublish_utils = require('../../../scripts/postpublish_utils');

const subPackageName = '0xproject/tslint-config';

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