+
Skip to content

Bump the CircleCI® CLI binary versions #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions node/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,29 @@ const { Binary } = require('@cloudflare/binary-install');
const { type, arch } = require('os');
const path = require('path');

// File mainly copied from https://github.com/cloudflare/binary-install/blob/a1dc431b2c9b318d21d7f0b2f1abfb27526a2384/packages/binary-install-example/binary.js
function error(msg) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't used anymore

console.error(msg);
process.exit(1);
};
const binaryVersion = '0.1.18980';
const intelMacBinaryVersion = '0.1.17087';

const supportedPlatforms = [
{
type: "Linux",
architecture: "x64",
url: "https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.17554/circleci-cli_0.1.17554_linux_amd64.tar.gz",
url: `https://github.com/CircleCI-Public/circleci-cli/releases/download/v${binaryVersion}/circleci-cli_${binaryVersion}_linux_amd64.tar.gz`,
},
{
type: "Linux",
architecture: "arm64",
url: "https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.17554/circleci-cli_0.1.17554_linux_arm64.tar.gz",
url: `https://github.com/CircleCI-Public/circleci-cli/releases/download/v${binaryVersion}/circleci-cli_${binaryVersion}_linux_arm64.tar.gz`,
},
{
type: "Darwin",
architecture: "x64",
url: "https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.17087/circleci-cli_0.1.17087_darwin_amd64.tar.gz",
url: `https://github.com/CircleCI-Public/circleci-cli/releases/download/v${intelMacBinaryVersion}/circleci-cli_${intelMacBinaryVersion}_darwin_amd64.tar.gz`,
},
{
type: "Darwin",
architecture: "arm64",
url: "https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.17554/circleci-cli_0.1.17554_darwin_amd64.tar.gz",
url: `https://github.com/CircleCI-Public/circleci-cli/releases/download/v${binaryVersion}/circleci-cli_${binaryVersion}_darwin_amd64.tar.gz`,
},
];

Expand Down
2 changes: 1 addition & 1 deletion src/test/suite/utils/onClickTakeSurvey.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import { Substitute } from '@fluffy-spoon/substitute';
import * as assert from 'assert';
import * as mocha from 'mocha';
import * as sinon from 'sinon';
import * as vscode from 'vscode';
import { Substitute } from '@fluffy-spoon/substitute';
import { HAS_EXTENDED_TRIAL } from '../../../constants';
import onClickTakeSurvey from '../../../utils/onClickTakeSurvey';

Expand Down
2 changes: 1 addition & 1 deletion src/test/suite/utils/showLicenseInput.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Substitute } from '@fluffy-spoon/substitute';
import * as assert from 'assert';
import * as mocha from 'mocha';
import * as sinon from 'sinon';
import * as vscode from 'vscode';
import { Substitute } from '@fluffy-spoon/substitute';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR

import showLicenseInput from '../../../utils/showLicenseInput';

mocha.afterEach(() => {
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载