-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Running winget upgrade "GitHub CLI" from an elevated prompt, succeeds but does not actually perform the upgrade.
Steps to reproduce the behavior
- Enable
Upgrade Commandexperimental feature (seewinget featuresfor details) on winget - (optional) Enable
List Commandexperimental feature on winget - Run
winget upgrade "GitHub CLI"
Expected vs actual behavior
Expected
Installation succeeds and new version is installed.
Actual
Installation succeeds, but version is not incremented.
Workaround
The upgrade method mentioned on the homepage works:
WinGet does not have a specialized upgrade command yet, but the install command should work for upgrading to a newer version of GitHub CLI.
Logs
Log via winget upgrade
C:\Users\Whatever> winget list "Github"
Name ID Version Verfügbar Quelle
----------------------------------------------
GitHub CLI GitHub.cli 1.7.0 1.8.1 winget
C:\Users\Whatever> winget upgrade "GitHub CLI"
Omitted for brevity
Installation successfull
C:\Users\Whatever> winget list "Github"
Name ID Version Verfügbar Quelle
----------------------------------------------
GitHub CLI GitHub.cli 1.7.0 1.8.1 winget
Log via winget install (as suggested in the readme)
C:\Users\Whatever> winget install "GitHub CLI"
Omitted for brevity
Installation successfull
C:\Users\Whatever> winget list "Github"
Name ID Version
-----------------------------
GitHub CLI GitHub.cli 1.8.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working