On Windows we get
Checking gh-aw extension version...
ℹ Upgrading gh-aw extension from v0.68.1 to v0.68.3...
[aw]: failed to remove previous extension update state: unlinkat C:\Users\scott\AppData\Local\GitHub CLI\extensions\gh-aw\gh-aw.exe: Access is denied.
X Failed upgrading extension aw: some extensions failed to upgrade
✗ failed to upgrade gh-aw extension
exit status 1
>gh extension upgrade gh-aw
X Failed upgrading extension aw: unable to retrieve latest version for extension "aw"
>gh extension upgrade github/gh-aw
X Failed upgrading extension aw: unable to retrieve latest version for extension "aw"12 replies
I think on Windows gh-aw upgrade simply can't self- upgrade gh-aw. If it's possible to do it we should fix it, if it's not possible we should handle this more gracefully, telling the user they shold run
gh extension upgrade gh-aw
or, if that doesn't work, try this:
gh extension remove gh-aw
gh extension install github/gh-aw
On Windows we get
I think on Windows
gh-aw upgradesimply can't self- upgrade gh-aw. If it's possible to do it we should fix it, if it's not possible we should handle this more gracefully, telling the user they shold runor, if that doesn't work, try this: