aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/postpublish_utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monorepo-scripts/src/postpublish_utils.ts')
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts
index dbbde894d..e60d9e521 100644
--- a/packages/monorepo-scripts/src/postpublish_utils.ts
+++ b/packages/monorepo-scripts/src/postpublish_utils.ts
@@ -4,7 +4,6 @@ import * as fs from 'fs';
import * as _ from 'lodash';
import * as path from 'path';
import * as publishRelease from 'publish-release';
-import semverSort = require('semver-sort');
import { constants } from './constants';
import { utils } from './utils/utils';
@@ -53,6 +52,7 @@ export const postpublishUtils = {
},
async runAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise<void> {
const configs = this.generateConfig(packageJSON, tsConfigJSON, cwd);
+ // tslint:disable-next-line:no-unused-variable
const release = await this.publishReleaseNotesAsync(
configs.cwd,
configs.packageName,
@@ -93,8 +93,10 @@ export const postpublishUtils = {
const notes = this.getReleaseNotes(packageName, version);
const releaseName = this.getReleaseName(packageName, version);
const tag = this.getTag(packageName, version);
+ // tslint:disable-next-line:no-unused-variable
const finalAssets = this.adjustAssetPaths(cwd, assets);
utils.log('POSTPUBLISH: Releasing ', releaseName, '...');
+ // tslint:disable-next-line:no-unused-variable
const result = await publishReleaseAsync({
token: constants.githubPersonalAccessToken,
owner: '0xProject',