From 6601a652cbd2d3447b3f86d82a9efeeef46bb4f2 Mon Sep 17 00:00:00 2001 From: Andrew Traviss Date: Mon, 13 Jun 2022 16:11:19 -0400 Subject: [PATCH] Update DevCycle CLI to 4.0.0 The updated CLI fixes an incompatibility with the github action that was introduced in the previous version. --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b8be01d..eb3b55f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -61,7 +61,7 @@ function run() { } const baseBranch = pullRequest.base.ref; const headBranch = pullRequest.head.ref; - yield (0, exec_1.exec)('npm', ['install', '-g', '@devcycle/cli@3.0.3']); + yield (0, exec_1.exec)('npm', ['install', '-g', '@devcycle/cli@4.0.0']); const prLink = pullRequest === null || pullRequest === void 0 ? void 0 : pullRequest.html_url; const prLinkArgs = prLink ? ['--pr-link', prLink] : []; const authArgs = projectKey && clientId && clientSecret diff --git a/src/index.ts b/src/index.ts index 80edb53..556a0d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ async function run() { const baseBranch = pullRequest.base.ref const headBranch = pullRequest.head.ref - await exec('npm', ['install', '-g', '@devcycle/cli@3.0.3']) + await exec('npm', ['install', '-g', '@devcycle/cli@4.0.0']) const prLink = pullRequest?.html_url const prLinkArgs = prLink ? ['--pr-link', prLink] : []