Skip to content

Commit

Permalink
Bump Cody version (#1295)
Browse files Browse the repository at this point in the history
## Changes

Upgrade to the Cody version.
According to my tests it fixes
#1276

## Test plan

Full manual QA.
  • Loading branch information
pkukielka authored Apr 9, 2024
1 parent fe3811a commit 5ffd30e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ tasks {
throw Error("Agent binary '$path' not found in plugin zip $pluginPath")
}
}
assertExists("agent-macos-arm64")
assertExists("agent-macos-x64")
assertExists("agent-linux-arm64")
assertExists("agent-linux-x64")
assertExists("agent-win-x64.exe")
assertExists("cody-agent-macos-arm64")
assertExists("cody-agent-macos-x64")
assertExists("cody-agent-linux-arm64")
assertExists("cody-agent-linux-x64")
assertExists("cody-agent-win-x64.exe")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ gradleVersion=8.1.1
kotlin.stdlib.default.dependency=false
# See https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_configure
cody.autocomplete.enableFormatting=true
cody.commit=89722171622c5e6df5356b1dd4fad7ad9afe18d1
cody.commit=ad0dc84cea2d50b8c91d29438eb451aeb6d46daa
2 changes: 1 addition & 1 deletion src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private constructor(
// Only use x86 for macOS because of this issue here https://github.com/vercel/pkg/issues/2004
// TLDR; we're not able to run macos-arm64 binaries when they're created on ubuntu-latest
val arch = if (CpuArch.isArm64()) "arm64" else "x64"
return "agent-" + os + "-" + arch + binarySuffix()
return "cody-agent-" + os + "-" + arch + binarySuffix()
}

private fun agentDirectory(): Path? {
Expand Down

0 comments on commit 5ffd30e

Please sign in to comment.