Update GitHub CLI to v2.97.0 - #9380
Conversation
Fixes #9379 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c48d3dcf-338d-4f44-99e1-295180826724
📋 Prioritization NoteThanks for the contribution! The linked issue isn't in the current milestone yet. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 21 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
jongio
left a comment
There was a problem hiding this comment.
Checked this against the v2.97.0 release rather than just the version string.
All the assets downloadGh builds URLs for exist under that tag: gh_2.97.0_windows_{386,amd64,arm64}.zip, gh_2.97.0_macOS_{amd64,arm64}.zip, and gh_2.97.0_linux_{amd64,arm64}.tar.gz, so the platform switch still resolves on every supported target.
The other coupling in this package is the stderr parsing in GetAuthStatus. Both strings those regexes look for ("You are not logged into any GitHub hosts." and "To re-authenticate, run") are still emitted at v2.97.0, so the auth-status detection doesn't regress.
The tests in github_methods_test.go build their expected output from Version.String(), so nothing else needed touching, and leaving CHANGELOG.md alone matches how the previous bumps landed.
Worth noting for whoever picks up the release: v2.97.0 is a security release covering four advisories, including escape-sequence injection in gh api output and a token leak in gh auth status.
Updates the bundled GitHub CLI version from 2.96.0 to 2.97.0.
Fixes #9379
Release: https://github.com/cli/cli/releases/tag/v2.97.0
Changes
Versionconstant incli/azd/pkg/tools/github/github.go