aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-13 23:55:50 +0800
committerFabio Berger <me@fabioberger.com>2018-03-13 23:55:50 +0800
commita2e848a7fafbae4df51de6f05fd53a6abf78a593 (patch)
tree43d56c5adee23eb4e6de61869d97a57b8c775df8 /packages/monorepo-scripts/src
parent67fbffc964a12c56c06e3262c9afdb1d2d01559c (diff)
downloaddexon-sol-tools-a2e848a7fafbae4df51de6f05fd53a6abf78a593.tar.gz
dexon-sol-tools-a2e848a7fafbae4df51de6f05fd53a6abf78a593.tar.zst
dexon-sol-tools-a2e848a7fafbae4df51de6f05fd53a6abf78a593.zip
Fix lint issues
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts
index 2f27e15cb..e04c31649 100644
--- a/packages/monorepo-scripts/src/postpublish_utils.ts
+++ b/packages/monorepo-scripts/src/postpublish_utils.ts
@@ -1,5 +1,5 @@
-import * as promisify from 'es6-promisify';
import { execAsync } from 'async-child-process';
+import * as promisify from 'es6-promisify';
import * as _ from 'lodash';
import * as publishRelease from 'publish-release';
import semverSort = require('semver-sort');
@@ -16,7 +16,7 @@ export interface TagAndVersion {
}
export const postpublishUtils = {
- getLatestTagAndVersionAsync(subPackageName: string): Promise<TagAndVersion> {
+ async getLatestTagAndVersionAsync(subPackageName: string): Promise<TagAndVersion> {
const subPackagePrefix = `${subPackageName}@`;
const gitTagsCommand = `git tag -l "${subPackagePrefix}*"`;
return execAsync(gitTagsCommand).then((result: any) => {
@@ -36,7 +36,7 @@ export const postpublishUtils = {
};
});
},
- publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) {
+ async publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) {
utils.log('POSTPUBLISH: Releasing ', releaseName, '...');
return publishReleaseAsync({
token: githubPersonalAccessToken,