aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils/utils.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-18 19:46:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-18 19:46:16 +0800
commite6fe728bcbbab0c500fc7adee1439505282e8eca (patch)
treed7c4d43725b460776857ff421397d6c4b8c30603 /packages/monorepo-scripts/src/utils/utils.ts
parent6c7f4c13fa3de20c554e9c031f272d0f66842580 (diff)
parentbef30e4209b26c8d4f443f8672e9acb9471c6a37 (diff)
downloaddexon-0x-contracts-e6fe728bcbbab0c500fc7adee1439505282e8eca.tar.gz
dexon-0x-contracts-e6fe728bcbbab0c500fc7adee1439505282e8eca.tar.zst
dexon-0x-contracts-e6fe728bcbbab0c500fc7adee1439505282e8eca.zip
Merge development
Diffstat (limited to 'packages/monorepo-scripts/src/utils/utils.ts')
-rw-r--r--packages/monorepo-scripts/src/utils/utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/utils/utils.ts b/packages/monorepo-scripts/src/utils/utils.ts
index 95b187cc2..28c5658f3 100644
--- a/packages/monorepo-scripts/src/utils/utils.ts
+++ b/packages/monorepo-scripts/src/utils/utils.ts
@@ -106,8 +106,10 @@ export const utils = {
return nextVersionIfValid;
},
async getRemoteGitTagsAsync(): Promise<string[]> {
+ const TEN_MEGA_BYTES = 1024 * 1024 * 10; // tslint:disable-line custom-no-magic-numbers
const result = await execAsync(`git ls-remote --tags`, {
cwd: constants.monorepoRootPath,
+ maxBuffer: TEN_MEGA_BYTES,
});
const tagsString = result.stdout;
const tagOutputs: string[] = tagsString.split('\n');