diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-06 02:51:07 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-06 02:51:07 +0800 |
commit | db8f018b422461716c4c5916dd0a3a76f245a72e (patch) | |
tree | 3760a0e68493e2410500587692ee506261e1435c /packages/monorepo-scripts/src/postpublish_utils.ts | |
parent | 59cb2132f27c0c28a1e6077aaac320e485786e65 (diff) | |
download | dexon-sol-tools-db8f018b422461716c4c5916dd0a3a76f245a72e.tar.gz dexon-sol-tools-db8f018b422461716c4c5916dd0a3a76f245a72e.tar.zst dexon-sol-tools-db8f018b422461716c4c5916dd0a3a76f245a72e.zip |
Some cleanup
Diffstat (limited to 'packages/monorepo-scripts/src/postpublish_utils.ts')
-rw-r--r-- | packages/monorepo-scripts/src/postpublish_utils.ts | 14 |
1 files changed, 3 insertions, 11 deletions
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<void> { 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', |