Skip to content

Commit

Permalink
Merge pull request #4128 from Shopify/upgrade-cloudflare-main
Browse files Browse the repository at this point in the history
Upgrade cloudflared
  • Loading branch information
isaacroldan authored Jun 27, 2024
2 parents cecd5aa + 9548d55 commit 67b57c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/plugin-cloudflare/src/install-cloudflared.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('install-cloudflare', () => {
// Then
// expect(global.fetch).not.toHaveBeenCalled()
expect(global.fetch).toHaveBeenCalledWith(
'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-darwin-amd64.tgz',
'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-darwin-amd64.tgz',
expect.anything(),
)
})
Expand All @@ -61,7 +61,7 @@ describe('install-cloudflare', () => {
// Then
// expect(global.fetch).not.toHaveBeenCalled()
expect(global.fetch).toHaveBeenCalledWith(
'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-linux-amd64',
'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-linux-amd64',
expect.anything(),
)
})
Expand All @@ -75,7 +75,7 @@ describe('install-cloudflare', () => {

// Then
expect(global.fetch).toHaveBeenCalledWith(
'https://github.com/cloudflare/cloudflared/releases/download/2024.2.1/cloudflared-windows-amd64.exe',
'https://github.com/cloudflare/cloudflared/releases/download/2024.6.1/cloudflared-windows-amd64.exe',
expect.anything(),
)
})
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cloudflare/src/install-cloudflared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {pipeline} from 'stream'
// eslint-disable-next-line no-restricted-imports
import {execSync, execFileSync} from 'child_process'

export const CURRENT_CLOUDFLARE_VERSION = '2024.2.1'
export const CURRENT_CLOUDFLARE_VERSION = '2024.6.1'
const CLOUDFLARE_REPO = `https://github.com/cloudflare/cloudflared/releases/download/${CURRENT_CLOUDFLARE_VERSION}/`

const LINUX_URL: {[key: string]: string} = {
Expand Down

0 comments on commit 67b57c3

Please sign in to comment.