Skip to content

Commit

Permalink
Update DevCycle CLI to 4.0.0
Browse files Browse the repository at this point in the history
The updated CLI fixes an incompatibility with the github action that was introduced in the previous version.
  • Loading branch information
Andrew Traviss authored and andrewtraviss committed Jun 13, 2022
1 parent 6186ff6 commit 6601a65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] : []
Expand Down

0 comments on commit 6601a65

Please sign in to comment.