From db8f018b422461716c4c5916dd0a3a76f245a72e Mon Sep 17 00:00:00 2001 From: fragosti Date: Tue, 5 Jun 2018 11:51:07 -0700 Subject: Some cleanup --- packages/monorepo-scripts/src/postpublish_utils.ts | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'packages') diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index e60d9e521..b55a88539 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -52,13 +52,7 @@ export const postpublishUtils = { }, async runAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise { const configs = this.generateConfig(packageJSON, tsConfigJSON, cwd); - // tslint:disable-next-line:no-unused-variable - const release = await this.publishReleaseNotesAsync( - configs.cwd, - configs.packageName, - configs.version, - configs.assets, - ); + await this.publishReleaseNotesAsync(configs.cwd, configs.packageName, configs.version, configs.assets); if ( !_.isUndefined(configs.docPublishConfigs.s3BucketPath) || !_.isUndefined(configs.docPublishConfigs.s3StagingBucketPath) @@ -93,11 +87,9 @@ 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); + this.adjustAssetPaths(cwd, assets); utils.log('POSTPUBLISH: Releasing ', releaseName, '...'); - // tslint:disable-next-line:no-unused-variable - const result = await publishReleaseAsync({ + await publishReleaseAsync({ token: constants.githubPersonalAccessToken, owner: '0xProject', repo: '0x-monorepo', -- cgit v1.2.3