Skip to content

Commit f7fa60b

Browse files
Copilotvhvb1989
andauthored
Update gh CLI tool version to 2.86.0 (#6579)
* Initial plan * Update GitHub CLI tool version from 2.80.0 to 2.86.0 Co-authored-by: vhvb1989 <[email protected]> * Fix comment to use .tar.gz instead of .rpm for Linux Co-authored-by: vhvb1989 <[email protected]> * Complete: Update gh CLI version to 2.86.0 Co-authored-by: vhvb1989 <[email protected]> * Revert unintended changes to go.mod, go.sum, and environment.go files * Complete: Update gh CLI version to 2.86.0 (clean) Co-authored-by: vhvb1989 <[email protected]> * Revert go.mod/go.sum changes added by test runs --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: vhvb1989 <[email protected]>
1 parent 190fd69 commit f7fa60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/azd/pkg/tools/github/github.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewGitHubCli(console input.Console, commandRunner exec.CommandRunner) *Cli
4040

4141
// Version is the minimum version of GitHub cli that we require (and the one we fetch when we fetch gh on
4242
// behalf of a user).
43-
var Version semver.Version = semver.MustParse("2.80.0")
43+
var Version semver.Version = semver.MustParse("2.86.0")
4444

4545
// newGitHubCliImplementation is like NewGitHubCli but allows providing a custom transport for testing.
4646
func newGitHubCliImplementation(
@@ -680,7 +680,7 @@ func downloadGh(
680680
return fmt.Errorf("unsupported platform")
681681
}
682682

683-
// example: https://github.com/cli/cli/releases/download/v2.80.0/gh_2.80.0_linux_arm64.rpm
683+
// example: https://github.com/cli/cli/releases/download/v2.86.0/gh_2.86.0_linux_arm64.tar.gz
684684
ghReleaseUrl := fmt.Sprintf("https://github.com/cli/cli/releases/download/v%s/%s", ghVersion, releaseName)
685685

686686
log.Printf("downloading github cli release %s -> %s", ghReleaseUrl, releaseName)

0 commit comments

Comments
 (0)