github / gh-copilot

Ask for assistance right in your terminal.
https://docs.github.com/en/copilot/github-copilot-in-the-cli
731 stars 31 forks source link

[BUG]: unexpected EOF when trying to upgrade gh-copilot #42

Closed MartinDelille closed 6 months ago

MartinDelille commented 7 months ago

Thanks for taking the time to fill out this out! :bow: By submitting this issue, you agree to follow our Code of Conduct.

What happened?

I have an error when trying to upgrade gh-copilot.

Versions

gh version 2.46.0 (2024-03-20) https://github.com/cli/cli/releases/tag/v2.46.0

Relevant terminal output

$ gh extension upgrade github/gh-copilot
[copilot]: failed to download asset darwin-arm64: unexpected EOF
X Failed upgrading extension copilot: some extensions failed to upgrade
andyfeller commented 7 months ago

@MartinDelille : thank you for opening this issue and my apologies for any frustration this might have caused! 🙇 🤔 Let's see how we might troubleshoot why the GitHub CLI is having issues downloading release assets.

Could you capture and share the output from the following commands?

  1. gh release view v1.0.0 -R github/gh-copilot

    This is a test to see if your installation can read public release information related to the extension, which should look like:

    v1.0.0
    gh-copilot-promote-release[bot] released this about 22 hours ago
    
      Release notes for v1.0.0                                                                                           
    
     Following our public beta https://github.blog/changelog/2023-11-08-github-copilot-in-the-cli-now-in-public-beta/, we're excited
     to announce the general availability of GitHub Copilot in the CLI! 🎉                                               
    
     Bringing GitHub Copilot to your terminal, GitHub Copilot in the CLI assists with any task in the terminal:          
    
     • Suggest commands using natural language for unfamiliar or hard to remember use cases.                             
     • Explain commands with finer details of arguments, flags, and expected outcomes.                                   
     • Execute suggested commands in supported shells to stay in the flow.
  2. gh release download v1.0.0 -p darwin-arm64 -R github/gh-copilot

    This is a test to see if your installation can download public release assets related to the extension, which should result in darwin-arm64 file in the directory invoked from:

    $ gh release download v1.0.0 -p darwin-arm64 -R github/gh-copilot -O gh-copilot
    $ ll
    
    total 64448
    -rw-r--r--  1 andyfeller  staff    31M Mar 22 08:51 gh-copilot
    
    $ chmod 755 gh-copilot 
    $ ./gh-copilot --help
    Your AI command line copilot.
    
    Usage:
     copilot [command]
    
    Examples:
    
    $ gh copilot suggest "Install git"
    $ gh copilot explain "traceroute github.com"
    
    Available Commands:
     alias       Generate shell-specific aliases for convenience
     config      Configure options
     explain     Explain a command
     suggest     Suggest a command
    
    Flags:
     -h, --help      help for copilot
     -v, --version   version for copilot
    
    Use "copilot [command] --help" for more information about a command.
  3. GH_DEBUG=api gh ext install github/gh-copilot

    This generates additional information around the GitHub API calls with any sensitive information obscured. This is an attempt to see where specifically this is failing.

    I'll share an example of what this looks like in a <details> block at the bottom of this comment as it is somewhat extra. Let me repeat that this should be safe to share.

  4. wget https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-arm64

    This attempts to download the release asset directly via HTTP url. If this is an issue with gh, then this should confirm if there are network or other issues on your workstation.

  5. Troubleshooting with GitHub Debug

    All of the previous commands are attempting to get more information about where this is failing, however your problem might purely be network based. This resource is tool built with ❤ from GitHub network engineers to help users see if there are connectivity issues.

Example of GH_DEBUG=api gh ext install github/gh-copilot

```shell * Request at 2024-03-22 08:56:30.411909 -0400 EDT m=+0.069764168 * Request to https://api.github.com/repos/github/gh-copilot/releases/latest > GET /repos/github/gh-copilot/releases/latest HTTP/1.1 > Host: api.github.com > Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: America/New_York > User-Agent: GitHub CLI 2.45.0 > X-Gh-Cache-Ttl: 30s ⣻< HTTP/2.0 200 OK < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Cache-Control: private, max-age=60, s-maxage=60 < Content-Security-Policy: default-src 'none' < Content-Type: application/json; charset=utf-8 < Date: Fri, 22 Mar 2024 12:56:30 GMT < Etag: W/"54c3a3ab35007b895e730443a1bd0f176d87977771787660f6f6d663287c379f" < Last-Modified: Thu, 21 Mar 2024 14:05:16 GMT < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept, Authorization, Cookie, X-GitHub-OTP < Vary: Accept-Encoding, Accept, X-Requested-With < X-Accepted-Oauth-Scopes: repo < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json < X-Github-Request-Id: ED83:024D:15388BF:25FF584:65FD7FFE < X-Oauth-Client-Id: 178c6fc778ccc68e1d6a < X-Oauth-Scopes: gist, read:org, repo, workflow < X-Ratelimit-Limit: 15000 < X-Ratelimit-Remaining: 14991 < X-Ratelimit-Reset: 1711114438 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 9 < X-Xss-Protection: 0 { "url": "https://api.github.com/repos/github/gh-copilot/releases/147734229", "assets_url": "https://api.github.com/repos/github/gh-copilot/releases/147734229/assets", "upload_url": "https://uploads.github.com/repos/github/gh-copilot/releases/147734229/assets{?name,label}", "html_url": "https://github.com/github/gh-copilot/releases/tag/v1.0.0", "id": 147734229, "author": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "node_id": "RE_kwDOKlZ9tM4Izj7V", "tag_name": "v1.0.0", "target_commitish": "main", "name": "v1.0.0", "draft": false, "prerelease": false, "created_at": "2023-11-08T18:07:44Z", "published_at": "2024-03-21T14:04:16Z", "assets": [ { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884708", "id": 157884708, "node_id": "RA_kwDOKlZ9tM4JaSEk", "name": "android-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33527768, "download_count": 0, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/android-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884707", "id": 157884707, "node_id": "RA_kwDOKlZ9tM4JaSEj", "name": "android-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33423360, "download_count": 4, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:12Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/android-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884709", "id": 157884709, "node_id": "RA_kwDOKlZ9tM4JaSEl", "name": "darwin-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32501360, "download_count": 471, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884710", "id": 157884710, "node_id": "RA_kwDOKlZ9tM4JaSEm", "name": "darwin-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32993490, "download_count": 2325, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884711", "id": 157884711, "node_id": "RA_kwDOKlZ9tM4JaSEn", "name": "freebsd-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23179264, "download_count": 0, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:12Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884714", "id": 157884714, "node_id": "RA_kwDOKlZ9tM4JaSEq", "name": "freebsd-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 2, "created_at": "2024-03-21T14:04:12Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884716", "id": 157884716, "node_id": "RA_kwDOKlZ9tM4JaSEs", "name": "freebsd-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 0, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884718", "id": 157884718, "node_id": "RA_kwDOKlZ9tM4JaSEu", "name": "linux-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23273472, "download_count": 1, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884717", "id": 157884717, "node_id": "RA_kwDOKlZ9tM4JaSEt", "name": "linux-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31436800, "download_count": 1109, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884719", "id": 157884719, "node_id": "RA_kwDOKlZ9tM4JaSEv", "name": "linux-arm", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23855104, "download_count": 0, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-arm" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884722", "id": 157884722, "node_id": "RA_kwDOKlZ9tM4JaSEy", "name": "linux-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 11, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884723", "id": 157884723, "node_id": "RA_kwDOKlZ9tM4JaSEz", "name": "windows-386.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 24070656, "download_count": 17, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-386.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884724", "id": 157884724, "node_id": "RA_kwDOKlZ9tM4JaSE0", "name": "windows-amd64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31908864, "download_count": 914, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-amd64.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884725", "id": 157884725, "node_id": "RA_kwDOKlZ9tM4JaSE1", "name": "windows-arm64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31424512, "download_count": 2, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-arm64.exe" } ], "tarball_url": "https://api.github.com/repos/github/gh-copilot/tarball/v1.0.0", "zipball_url": "https://api.github.com/repos/github/gh-copilot/zipball/v1.0.0", "body": "# Release notes for v1.0.0\r\n\r\nFollowing our [public beta](https://github.blog/changelog/2023-11-08-github-copilot-in-the-cli-now-in-public-beta/), we're excited to announce the general availability of GitHub Copilot in the CLI! :tada:\r\n\r\nBringing GitHub Copilot to your terminal, GitHub Copilot in the CLI assists with any task in the terminal:\r\n\r\n- Suggest commands using natural language for unfamiliar or hard to remember use cases.\r\n- Explain commands with finer details of arguments, flags, and expected outcomes.\r\n- Execute suggested commands in supported shells to stay in the flow.\r\n\r\n## What's New\r\n\r\n### Introducing support for `ghcs` and `ghce` aliases and executing commands for popular shells\r\n\r\nBefore GitHub Universe, we knew our community would need these two features from the [Copilot for CLI technical preview](https://githubnext.com/projects/copilot-cli/), however your feedback in https://github.com/github/gh-copilot/issues/2 and https://github.com/github/gh-copilot/issues/5 confirmed it!\r\n\r\n`gh copilot alias` will generate aliases for Bash, PowerShell, or Zsh that use fewer keystrokes to jump into the `gh copilot` experience:\r\n\r\n- `ghcs` for `gh copilot suggest`\r\n- `ghce` for `gh copilot explain`\r\n\r\n

\r\n \r\n For instructions to setup aliases, gh copilot alias --help\r\n \r\n\r\n

\r\n\r\n - Bash\r\n\r\n ```shell\r\n echo 'eval \"$(gh copilot alias -- bash)\"' >> ~/.bashrc\r\n ```\r\n\r\n - PowerShell\r\n\r\n ```powershell\r\n $GH_COPILOT_PROFILE = Join-Path -Path $(Split-Path -Path $PROFILE -Parent) -ChildPath \"gh-copilot.ps1\"\r\n gh copilot alias -- pwsh | Out-File ( New-Item -Path $GH_COPILOT_PROFILE -Force )\r\n echo \". $GH_COPILOT_PROFILE\" >> $PROFILE\r\n ```\r\n\r\n - Zsh\r\n\r\n ```shell\r\n echo 'eval \"$(gh copilot alias -- zsh)\"' >> ~/.zshrc\r\n ```\r\n\r\n

\r\n
\r\n\r\nIn addition to making you faster, the new `ghcs` alias is the basis for the new `Execute command` option to execute and preserve generated suggestions:\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option [Use arrows to move, type to filter]\r\n> Copy command to clipboard\r\n Explain command\r\n Execute command\r\n Revise command\r\n Rate response\r\n Exit\r\n```\r\n\r\n> [!NOTE]\r\n> We are open to supporting additional popular shells with help from our community providing the same experience! :bow:\r\n\r\n### Configuration for `Execute command` confirmation prompt\r\n\r\nGitHub Copilot in the CLI prompts for confirmation when executing commands. This safeguard will return you to the interactive loop if declined, focusing on safety by minimizing accidents.\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option\r\n> Execute command\r\n\r\n? Are you sure you want to execute the suggested command? [Use arrows to move, type to filter]\r\n> No\r\n Yes\r\n```\r\n\r\nHowever if you feel the trade off between safety and speed is important, `gh copilot config` provides an option that can change the confirmation prompt default, allowing faster execution of commands by removing the need to select `Yes`.\r\n\r\n```shell\r\n$ gh copilot config\r\n\r\n? What would you like to configure?\r\n> Default value for confirming command execution\r\n\r\n? Default when asked to confirm execution of a generated suggestion? [Use arrows to move, type to filter]\r\n> No\r\n Yes\r\n```\r\n\r\n### Copy to clipboard exits immediately\r\n\r\nWith GitHub Copilot's goal of keeping you in the flow, the `Copy to clipboard` option has been changed to exit immediately based on feedback from https://github.com/github/gh-copilot/issues/2.\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option\r\n> Copy command to clipboard\r\n\r\nCommand copied to clipboard!\r\n```" } * Request took 217.893042ms * Request at 2024-03-22 08:56:30.671664 -0400 EDT m=+0.329520876 * Request to https://api.github.com/repos/github/gh-copilot/releases/latest > GET /repos/github/gh-copilot/releases/latest HTTP/1.1 > Host: api.github.com > Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: America/New_York > User-Agent: GitHub CLI 2.45.0 > X-Gh-Cache-Ttl: 30s < HTTP/2.0 200 OK < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Cache-Control: private, max-age=60, s-maxage=60 < Content-Security-Policy: default-src 'none' < Content-Type: application/json; charset=utf-8 < Date: Fri, 22 Mar 2024 12:56:30 GMT < Etag: W/"54c3a3ab35007b895e730443a1bd0f176d87977771787660f6f6d663287c379f" < Last-Modified: Thu, 21 Mar 2024 14:05:16 GMT < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept, Authorization, Cookie, X-GitHub-OTP < Vary: Accept-Encoding, Accept, X-Requested-With < X-Accepted-Oauth-Scopes: repo < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json < X-Github-Request-Id: ED83:024D:15388BF:25FF584:65FD7FFE < X-Oauth-Client-Id: 178c6fc778ccc68e1d6a < X-Oauth-Scopes: gist, read:org, repo, workflow < X-Ratelimit-Limit: 15000 < X-Ratelimit-Remaining: 14991 < X-Ratelimit-Reset: 1711114438 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 9 < X-Xss-Protection: 0 { "url": "https://api.github.com/repos/github/gh-copilot/releases/147734229", "assets_url": "https://api.github.com/repos/github/gh-copilot/releases/147734229/assets", "upload_url": "https://uploads.github.com/repos/github/gh-copilot/releases/147734229/assets{?name,label}", "html_url": "https://github.com/github/gh-copilot/releases/tag/v1.0.0", "id": 147734229, "author": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "node_id": "RE_kwDOKlZ9tM4Izj7V", "tag_name": "v1.0.0", "target_commitish": "main", "name": "v1.0.0", "draft": false, "prerelease": false, "created_at": "2023-11-08T18:07:44Z", "published_at": "2024-03-21T14:04:16Z", "assets": [ { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884708", "id": 157884708, "node_id": "RA_kwDOKlZ9tM4JaSEk", "name": "android-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33527768, "download_count": 0, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/android-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884707", "id": 157884707, "node_id": "RA_kwDOKlZ9tM4JaSEj", "name": "android-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33423360, "download_count": 4, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:12Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/android-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884709", "id": 157884709, "node_id": "RA_kwDOKlZ9tM4JaSEl", "name": "darwin-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32501360, "download_count": 471, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884710", "id": 157884710, "node_id": "RA_kwDOKlZ9tM4JaSEm", "name": "darwin-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32993490, "download_count": 2325, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884711", "id": 157884711, "node_id": "RA_kwDOKlZ9tM4JaSEn", "name": "freebsd-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23179264, "download_count": 0, "created_at": "2024-03-21T14:04:11Z", "updated_at": "2024-03-21T14:04:12Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884714", "id": 157884714, "node_id": "RA_kwDOKlZ9tM4JaSEq", "name": "freebsd-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 2, "created_at": "2024-03-21T14:04:12Z", "updated_at": "2024-03-21T14:04:13Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884716", "id": 157884716, "node_id": "RA_kwDOKlZ9tM4JaSEs", "name": "freebsd-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 0, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/freebsd-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884718", "id": 157884718, "node_id": "RA_kwDOKlZ9tM4JaSEu", "name": "linux-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23273472, "download_count": 1, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884717", "id": 157884717, "node_id": "RA_kwDOKlZ9tM4JaSEt", "name": "linux-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31436800, "download_count": 1109, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884719", "id": 157884719, "node_id": "RA_kwDOKlZ9tM4JaSEv", "name": "linux-arm", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23855104, "download_count": 0, "created_at": "2024-03-21T14:04:13Z", "updated_at": "2024-03-21T14:04:14Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-arm" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884722", "id": 157884722, "node_id": "RA_kwDOKlZ9tM4JaSEy", "name": "linux-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 11, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/linux-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884723", "id": 157884723, "node_id": "RA_kwDOKlZ9tM4JaSEz", "name": "windows-386.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 24070656, "download_count": 17, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-386.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884724", "id": 157884724, "node_id": "RA_kwDOKlZ9tM4JaSE0", "name": "windows-amd64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31908864, "download_count": 914, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-amd64.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/157884725", "id": 157884725, "node_id": "RA_kwDOKlZ9tM4JaSE1", "name": "windows-arm64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31424512, "download_count": 2, "created_at": "2024-03-21T14:04:14Z", "updated_at": "2024-03-21T14:04:15Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.0/windows-arm64.exe" } ], "tarball_url": "https://api.github.com/repos/github/gh-copilot/tarball/v1.0.0", "zipball_url": "https://api.github.com/repos/github/gh-copilot/zipball/v1.0.0", "body": "# Release notes for v1.0.0\r\n\r\nFollowing our [public beta](https://github.blog/changelog/2023-11-08-github-copilot-in-the-cli-now-in-public-beta/), we're excited to announce the general availability of GitHub Copilot in the CLI! :tada:\r\n\r\nBringing GitHub Copilot to your terminal, GitHub Copilot in the CLI assists with any task in the terminal:\r\n\r\n- Suggest commands using natural language for unfamiliar or hard to remember use cases.\r\n- Explain commands with finer details of arguments, flags, and expected outcomes.\r\n- Execute suggested commands in supported shells to stay in the flow.\r\n\r\n## What's New\r\n\r\n### Introducing support for `ghcs` and `ghce` aliases and executing commands for popular shells\r\n\r\nBefore GitHub Universe, we knew our community would need these two features from the [Copilot for CLI technical preview](https://githubnext.com/projects/copilot-cli/), however your feedback in https://github.com/github/gh-copilot/issues/2 and https://github.com/github/gh-copilot/issues/5 confirmed it!\r\n\r\n`gh copilot alias` will generate aliases for Bash, PowerShell, or Zsh that use fewer keystrokes to jump into the `gh copilot` experience:\r\n\r\n- `ghcs` for `gh copilot suggest`\r\n- `ghce` for `gh copilot explain`\r\n\r\n
\r\n \r\n For instructions to setup aliases, gh copilot alias --help\r\n \r\n\r\n

\r\n\r\n - Bash\r\n\r\n ```shell\r\n echo 'eval \"$(gh copilot alias -- bash)\"' >> ~/.bashrc\r\n ```\r\n\r\n - PowerShell\r\n\r\n ```powershell\r\n $GH_COPILOT_PROFILE = Join-Path -Path $(Split-Path -Path $PROFILE -Parent) -ChildPath \"gh-copilot.ps1\"\r\n gh copilot alias -- pwsh | Out-File ( New-Item -Path $GH_COPILOT_PROFILE -Force )\r\n echo \". $GH_COPILOT_PROFILE\" >> $PROFILE\r\n ```\r\n\r\n - Zsh\r\n\r\n ```shell\r\n echo 'eval \"$(gh copilot alias -- zsh)\"' >> ~/.zshrc\r\n ```\r\n\r\n

\r\n
\r\n\r\nIn addition to making you faster, the new `ghcs` alias is the basis for the new `Execute command` option to execute and preserve generated suggestions:\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option [Use arrows to move, type to filter]\r\n> Copy command to clipboard\r\n Explain command\r\n Execute command\r\n Revise command\r\n Rate response\r\n Exit\r\n```\r\n\r\n> [!NOTE]\r\n> We are open to supporting additional popular shells with help from our community providing the same experience! :bow:\r\n\r\n### Configuration for `Execute command` confirmation prompt\r\n\r\nGitHub Copilot in the CLI prompts for confirmation when executing commands. This safeguard will return you to the interactive loop if declined, focusing on safety by minimizing accidents.\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option\r\n> Execute command\r\n\r\n? Are you sure you want to execute the suggested command? [Use arrows to move, type to filter]\r\n> No\r\n Yes\r\n```\r\n\r\nHowever if you feel the trade off between safety and speed is important, `gh copilot config` provides an option that can change the confirmation prompt default, allowing faster execution of commands by removing the need to select `Yes`.\r\n\r\n```shell\r\n$ gh copilot config\r\n\r\n? What would you like to configure?\r\n> Default value for confirming command execution\r\n\r\n? Default when asked to confirm execution of a generated suggestion? [Use arrows to move, type to filter]\r\n> No\r\n Yes\r\n```\r\n\r\n### Copy to clipboard exits immediately\r\n\r\nWith GitHub Copilot's goal of keeping you in the flow, the `Copy to clipboard` option has been changed to exit immediately based on feedback from https://github.com/github/gh-copilot/issues/2.\r\n\r\n```shell\r\n$ ghcs upgrade GitHub CLI on MacOS\r\n\r\nWelcome to GitHub Copilot in the CLI!\r\nversion 1.0.0 (2024-03-18)\r\n\r\nI'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency\r\n\r\nSuggestion:\r\n\r\n brew upgrade gh\r\n\r\n? Select an option\r\n> Copy command to clipboard\r\n\r\nCommand copied to clipboard!\r\n```" } * Request took 4.318709ms * Request at 2024-03-22 08:56:30.713483 -0400 EDT m=+0.371340626 * Request to https://api.github.com/repos/github/gh-copilot/releases/assets/157884710 > GET /repos/github/gh-copilot/releases/assets/157884710 HTTP/1.1 > Host: api.github.com > Accept: application/octet-stream > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: America/New_York > User-Agent: GitHub CLI 2.45.0 > X-Gh-Cache-Ttl: 30s ⢿< HTTP/2.0 302 Found < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Content-Length: 0 < Content-Security-Policy: default-src 'none' < Content-Type: text/html;charset=utf-8 < Date: Fri, 22 Mar 2024 12:56:30 GMT < Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/710311348/8b4bbd29-eed4-4601-a87e-299341b82ca7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240322%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240322T125630Z&X-Amz-Expires=300&X-Amz-Signature=65f25a5406a5cd2159f4a3f3dda48572842452fca24ad51417ba829475ec0af4&X-Amz-SignedHeaders=host&actor_id=2089743&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept-Encoding, Accept, X-Requested-With < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Request-Id: ED83:024D:1538929:25FF655:65FD7FFE < X-Ratelimit-Limit: 15000 < X-Ratelimit-Remaining: 14990 < X-Ratelimit-Reset: 1711114438 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 10 < X-Xss-Protection: 0 * Request took 125.753709ms * Request at 2024-03-22 08:56:30.839287 -0400 EDT m=+0.497145460 * Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/710311348/8b4bbd29-eed4-4601-a87e-299341b82ca7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240322%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240322T125630Z&X-Amz-Expires=300&X-Amz-Signature=65f25a5406a5cd2159f4a3f3dda48572842452fca24ad51417ba829475ec0af4&X-Amz-SignedHeaders=host&actor_id=2089743&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream > GET /github-production-release-asset-2e65be/710311348/8b4bbd29-eed4-4601-a87e-299341b82ca7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240322%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240322T125630Z&X-Amz-Expires=300&X-Amz-Signature=65f25a5406a5cd2159f4a3f3dda48572842452fca24ad51417ba829475ec0af4&X-Amz-SignedHeaders=host&actor_id=2089743&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream > Host: objects.githubusercontent.com > Accept: application/octet-stream > Content-Type: application/json; charset=utf-8 > Referer: https://api.github.com/repos/github/gh-copilot/releases/assets/157884710 > Time-Zone: America/New_York > User-Agent: GitHub CLI 2.45.0 > X-Gh-Cache-Ttl: 30s ⢿< HTTP/2.0 200 OK < Accept-Ranges: bytes < Age: 3422 < Content-Disposition: attachment; filename=darwin-arm64 < Content-Length: 32993490 < Content-Md5: 8fHeVMn/CWV6Na56n364RQ== < Content-Type: application/octet-stream < Date: Fri, 22 Mar 2024 12:56:30 GMT < Etag: "0x8DC49AFCA293CE6" < Last-Modified: Thu, 21 Mar 2024 14:04:13 GMT < Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 < Via: 1.1 varnish < X-Cache: HIT < X-Cache-Hits: 0 < X-Ms-Blob-Type: BlockBlob < X-Ms-Creation-Time: Thu, 21 Mar 2024 14:04:13 GMT < X-Ms-Lease-State: available < X-Ms-Lease-Status: unlocked < X-Ms-Request-Id: cf3d6ee6-601e-005e-4698-7b0ab5000000 < X-Ms-Server-Encrypted: true < X-Ms-Version: 2020-10-02 < X-Served-By: cache-iad-kjyo7100064-IAD < X-Timer: S1711112191.934470,VS0,VE11 * Request took 865.698291ms ✓ Installed extension github/gh-copilot ```

MartinDelille commented 7 months ago

TLDR: Running GH_DEBUG=api gh extension upgrade github/gh-copilot fixed the issue (???)

Here is the output of the first command:

``` $ gh release view v1.0.0 -R github/gh-copilot v1.0.0 gh-copilot-promote-release[bot] released this about 4 days ago Release notes for v1.0.0 Following our public beta https://github.blog/changelog/2023-11-08-github-copilot-in- the-cli-now-in-public-beta/, we're excited to announce the general availability of GitHub Copilot in the CLI! 🎉 Bringing GitHub Copilot to your terminal, GitHub Copilot in the CLI assists with any task in the terminal: • Suggest commands using natural language for unfamiliar or hard to remember use cases. • Explain commands with finer details of arguments, flags, and expected outcomes. • Execute suggested commands in supported shells to stay in the flow. ## What's New ### Introducing support for ghcs and ghce aliases and executing commands for popular shells Before GitHub Universe, we knew our community would need these two features from the Copilot for CLI technical preview https://githubnext.com/projects/copilot- cli/, however your feedback in https://github.com/github/gh-copilot/issues/2 and https://github.com/github/gh-copilot/issues/5 confirmed it! gh copilot alias will generate aliases for Bash, PowerShell, or Zsh that use fewer keystrokes to jump into the gh copilot experience: • ghcs for gh copilot suggest • ghce for gh copilot explain • Bash echo 'eval "$(gh copilot alias -- bash)"' >> ~/.bashrc • PowerShell $GH_COPILOT_PROFILE = Join-Path -Path $(Split-Path -Path $PROFILE -Parent) - ChildPath "gh-copilot.ps1" gh copilot alias -- pwsh | Out-File ( New-Item -Path $GH_COPILOT_PROFILE -Force ) echo ". $GH_COPILOT_PROFILE" >> $PROFILE • Zsh echo 'eval "$(gh copilot alias -- zsh)"' >> ~/.zshrc In addition to making you faster, the new ghcs alias is the basis for the new Execute command option to execute and preserve generated suggestions: $ ghcs upgrade GitHub CLI on MacOS Welcome to GitHub Copilot in the CLI! version 1.0.0 (2024-03-18) I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency Suggestion: brew upgrade gh ? Select an option [Use arrows to move, type to filter] > Copy command to clipboard Explain command Execute command Revise command Rate response Exit │ [!NOTE] │ We are open to supporting additional popular shells with help from our │ community providing the same experience! 🙇 ### Configuration for Execute command confirmation prompt GitHub Copilot in the CLI prompts for confirmation when executing commands. This safeguard will return you to the interactive loop if declined, focusing on safety by minimizing accidents. $ ghcs upgrade GitHub CLI on MacOS Welcome to GitHub Copilot in the CLI! version 1.0.0 (2024-03-18) I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency Suggestion: brew upgrade gh ? Select an option > Execute command ? Are you sure you want to execute the suggested command? [Use arrows to move, type to filter] > No Yes However if you feel the trade off between safety and speed is important, gh copilot config provides an option that can change the confirmation prompt default, allowing faster execution of commands by removing the need to select Yes . $ gh copilot config ? What would you like to configure? > Default value for confirming command execution ? Default when asked to confirm execution of a generated suggestion? [Use arrows to move, type to filter] > No Yes ### Copy to clipboard exits immediately With GitHub Copilot's goal of keeping you in the flow, the Copy to clipboard option has been changed to exit immediately based on feedback from https://github.com/github/gh-copilot/issues/2. $ ghcs upgrade GitHub CLI on MacOS Welcome to GitHub Copilot in the CLI! version 1.0.0 (2024-03-18) I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency Suggestion: brew upgrade gh ? Select an option > Copy command to clipboard Command copied to clipboard! Assets android-amd64 31.97 MiB android-arm64 31.87 MiB darwin-amd64 30.99 MiB darwin-arm64 31.46 MiB freebsd-386 22.10 MiB freebsd-amd64 29.98 MiB freebsd-arm64 29.62 MiB linux-386 22.19 MiB linux-amd64 29.98 MiB linux-arm 22.75 MiB linux-arm64 29.62 MiB windows-386.exe 22.95 MiB windows-amd64.exe 30.43 MiB windows-arm64.exe 29.96 MiB View on GitHub: https://github.com/github/gh-copilot/releases/tag/v1.0.0 ```

The second one created a darwin-arm64 file in my current folder as expected:

$ gh release download v1.0.0 -p darwin-arm64 -R github/gh-copilot

The third one worked successfully:

``` GH_DEBUG=api gh extension upgrade github/gh-copilot * Request at 2024-03-25 22:49:12.571311 +0100 CET m=+0.042855834 * Request to https://api.github.com/repos/github/gh-copilot/releases/latest > GET /repos/github/gh-copilot/releases/latest HTTP/1.1 > Host: api.github.com > Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: Europe/Paris > User-Agent: GitHub CLI 2.46.0 > X-Gh-Cache-Ttl: 30s < HTTP/2.0 200 OK < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Cache-Control: private, max-age=60, s-maxage=60 < Content-Security-Policy: default-src 'none' < Content-Type: application/json; charset=utf-8 < Date: Mon, 25 Mar 2024 21:49:12 GMT < Etag: W/"f12b590941d363f576317760ae9317c16fb905d245062174cdbede1d94edb7ff" < Last-Modified: Fri, 22 Mar 2024 20:13:19 GMT < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept, Authorization, Cookie, X-GitHub-OTP < Vary: Accept-Encoding, Accept, X-Requested-With < X-Accepted-Oauth-Scopes: repo < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json < X-Github-Request-Id: 47AE:284D02:1D0B633:1D29D5E:6601F158 < X-Oauth-Client-Id: 178c6fc778ccc68e1d6a < X-Oauth-Scopes: admin:public_key, gist, read:org, repo < X-Ratelimit-Limit: 5000 < X-Ratelimit-Remaining: 4993 < X-Ratelimit-Reset: 1711406790 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 7 < X-Xss-Protection: 0 { "url": "https://api.github.com/repos/github/gh-copilot/releases/147991338", "assets_url": "https://api.github.com/repos/github/gh-copilot/releases/147991338/assets", "upload_url": "https://uploads.github.com/repos/github/gh-copilot/releases/147991338/assets{?name,label}", "html_url": "https://github.com/github/gh-copilot/releases/tag/v1.0.1", "id": 147991338, "author": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "node_id": "RE_kwDOKlZ9tM4I0isq", "tag_name": "v1.0.1", "target_commitish": "main", "name": "v1.0.1", "draft": false, "prerelease": false, "created_at": "2024-03-21T17:50:33Z", "published_at": "2024-03-22T20:12:36Z", "assets": [ { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140862", "id": 158140862, "node_id": "RA_kwDOKlZ9tM4JbQm-", "name": "android-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33531864, "download_count": 2, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/android-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140863", "id": 158140863, "node_id": "RA_kwDOKlZ9tM4JbQm_", "name": "android-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33423360, "download_count": 20, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/android-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140864", "id": 158140864, "node_id": "RA_kwDOKlZ9tM4JbQnA", "name": "darwin-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32501424, "download_count": 595, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/darwin-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140865", "id": 158140865, "node_id": "RA_kwDOKlZ9tM4JbQnB", "name": "darwin-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32993570, "download_count": 2988, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/darwin-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140861", "id": 158140861, "node_id": "RA_kwDOKlZ9tM4JbQm9", "name": "freebsd-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23179264, "download_count": 0, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140866", "id": 158140866, "node_id": "RA_kwDOKlZ9tM4JbQnC", "name": "freebsd-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 2, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140867", "id": 158140867, "node_id": "RA_kwDOKlZ9tM4JbQnD", "name": "freebsd-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 0, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140868", "id": 158140868, "node_id": "RA_kwDOKlZ9tM4JbQnE", "name": "linux-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23273472, "download_count": 8, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:34Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140869", "id": 158140869, "node_id": "RA_kwDOKlZ9tM4JbQnF", "name": "linux-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 1837, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140870", "id": 158140870, "node_id": "RA_kwDOKlZ9tM4JbQnG", "name": "linux-arm", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23855104, "download_count": 2, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:34Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-arm" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140871", "id": 158140871, "node_id": "RA_kwDOKlZ9tM4JbQnH", "name": "linux-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 37, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140872", "id": 158140872, "node_id": "RA_kwDOKlZ9tM4JbQnI", "name": "windows-386.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 24071680, "download_count": 21, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-386.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140873", "id": 158140873, "node_id": "RA_kwDOKlZ9tM4JbQnJ", "name": "windows-amd64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31909888, "download_count": 1764, "created_at": "2024-03-22T20:12:35Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-amd64.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140874", "id": 158140874, "node_id": "RA_kwDOKlZ9tM4JbQnK", "name": "windows-arm64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31425536, "download_count": 7, "created_at": "2024-03-22T20:12:35Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-arm64.exe" } ], "tarball_url": "https://api.github.com/repos/github/gh-copilot/tarball/v1.0.1", "zipball_url": "https://api.github.com/repos/github/gh-copilot/zipball/v1.0.1", "body": "# Release notes for v1.0.1\r\n\r\n## What's New\r\n\r\n### Fix Windows bug impacting `gh copilot alias` use of `ghcs` and `ghce`\r\n\r\n`v1.0.1` is primarily a fix impacting Windows users around the new `ghcs` and `ghce` aliases as the executable file extension was being emitted in shell configuration output.\r\n\r\nBig thanks to feedback from several within our user community including @ifalatiksetlog, @xt0rted, @rlove, @masewo, @dubois as well as out of office help from @colinshum! :heart:\r\n\r\nFor more information, see https://github.com/github/gh-copilot/issues/47.", "reactions": { "url": "https://api.github.com/repos/github/gh-copilot/releases/147991338/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }, "mentions_count": 6 } * Request took 455.84825ms [copilot]: * Request at 2024-03-25 22:49:13.027651 +0100 CET m=+0.499192459 * Request to https://api.github.com/repos/github/gh-copilot/releases/latest > GET /repos/github/gh-copilot/releases/latest HTTP/1.1 > Host: api.github.com > Accept: application/vnd.github.merge-info-preview+json, application/vnd.github.nebula-preview > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: Europe/Paris > User-Agent: GitHub CLI 2.46.0 > X-Gh-Cache-Ttl: 30s < HTTP/2.0 200 OK < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Cache-Control: private, max-age=60, s-maxage=60 < Content-Security-Policy: default-src 'none' < Content-Type: application/json; charset=utf-8 < Date: Mon, 25 Mar 2024 21:49:12 GMT < Etag: W/"f12b590941d363f576317760ae9317c16fb905d245062174cdbede1d94edb7ff" < Last-Modified: Fri, 22 Mar 2024 20:13:19 GMT < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept, Authorization, Cookie, X-GitHub-OTP < Vary: Accept-Encoding, Accept, X-Requested-With < X-Accepted-Oauth-Scopes: repo < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Media-Type: github.merge-info-preview; param=nebula-preview; format=json < X-Github-Request-Id: 47AE:284D02:1D0B633:1D29D5E:6601F158 < X-Oauth-Client-Id: 178c6fc778ccc68e1d6a < X-Oauth-Scopes: admin:public_key, gist, read:org, repo < X-Ratelimit-Limit: 5000 < X-Ratelimit-Remaining: 4993 < X-Ratelimit-Reset: 1711406790 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 7 < X-Xss-Protection: 0 { "url": "https://api.github.com/repos/github/gh-copilot/releases/147991338", "assets_url": "https://api.github.com/repos/github/gh-copilot/releases/147991338/assets", "upload_url": "https://uploads.github.com/repos/github/gh-copilot/releases/147991338/assets{?name,label}", "html_url": "https://github.com/github/gh-copilot/releases/tag/v1.0.1", "id": 147991338, "author": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "node_id": "RE_kwDOKlZ9tM4I0isq", "tag_name": "v1.0.1", "target_commitish": "main", "name": "v1.0.1", "draft": false, "prerelease": false, "created_at": "2024-03-21T17:50:33Z", "published_at": "2024-03-22T20:12:36Z", "assets": [ { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140862", "id": 158140862, "node_id": "RA_kwDOKlZ9tM4JbQm-", "name": "android-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33531864, "download_count": 2, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/android-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140863", "id": 158140863, "node_id": "RA_kwDOKlZ9tM4JbQm_", "name": "android-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 33423360, "download_count": 20, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/android-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140864", "id": 158140864, "node_id": "RA_kwDOKlZ9tM4JbQnA", "name": "darwin-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32501424, "download_count": 595, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/darwin-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140865", "id": 158140865, "node_id": "RA_kwDOKlZ9tM4JbQnB", "name": "darwin-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 32993570, "download_count": 2988, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/darwin-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140861", "id": 158140861, "node_id": "RA_kwDOKlZ9tM4JbQm9", "name": "freebsd-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23179264, "download_count": 0, "created_at": "2024-03-22T20:12:32Z", "updated_at": "2024-03-22T20:12:33Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140866", "id": 158140866, "node_id": "RA_kwDOKlZ9tM4JbQnC", "name": "freebsd-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 2, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140867", "id": 158140867, "node_id": "RA_kwDOKlZ9tM4JbQnD", "name": "freebsd-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 0, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/freebsd-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140868", "id": 158140868, "node_id": "RA_kwDOKlZ9tM4JbQnE", "name": "linux-386", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23273472, "download_count": 8, "created_at": "2024-03-22T20:12:33Z", "updated_at": "2024-03-22T20:12:34Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-386" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140869", "id": 158140869, "node_id": "RA_kwDOKlZ9tM4JbQnF", "name": "linux-amd64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31440896, "download_count": 1837, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-amd64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140870", "id": 158140870, "node_id": "RA_kwDOKlZ9tM4JbQnG", "name": "linux-arm", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 23855104, "download_count": 2, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:34Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-arm" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140871", "id": 158140871, "node_id": "RA_kwDOKlZ9tM4JbQnH", "name": "linux-arm64", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/octet-stream", "state": "uploaded", "size": 31064064, "download_count": 37, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/linux-arm64" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140872", "id": 158140872, "node_id": "RA_kwDOKlZ9tM4JbQnI", "name": "windows-386.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 24071680, "download_count": 21, "created_at": "2024-03-22T20:12:34Z", "updated_at": "2024-03-22T20:12:35Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-386.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140873", "id": 158140873, "node_id": "RA_kwDOKlZ9tM4JbQnJ", "name": "windows-amd64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31909888, "download_count": 1764, "created_at": "2024-03-22T20:12:35Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-amd64.exe" }, { "url": "https://api.github.com/repos/github/gh-copilot/releases/assets/158140874", "id": 158140874, "node_id": "RA_kwDOKlZ9tM4JbQnK", "name": "windows-arm64.exe", "label": "", "uploader": { "login": "gh-copilot-promote-release[bot]", "id": 149103791, "node_id": "BOT_kgDOCOMkrw", "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D", "html_url": "https://github.com/apps/gh-copilot-promote-release", "followers_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/followers", "following_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/repos", "events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/gh-copilot-promote-release%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "content_type": "application/x-ms-dos-executable", "state": "uploaded", "size": 31425536, "download_count": 7, "created_at": "2024-03-22T20:12:35Z", "updated_at": "2024-03-22T20:12:36Z", "browser_download_url": "https://github.com/github/gh-copilot/releases/download/v1.0.1/windows-arm64.exe" } ], "tarball_url": "https://api.github.com/repos/github/gh-copilot/tarball/v1.0.1", "zipball_url": "https://api.github.com/repos/github/gh-copilot/zipball/v1.0.1", "body": "# Release notes for v1.0.1\r\n\r\n## What's New\r\n\r\n### Fix Windows bug impacting `gh copilot alias` use of `ghcs` and `ghce`\r\n\r\n`v1.0.1` is primarily a fix impacting Windows users around the new `ghcs` and `ghce` aliases as the executable file extension was being emitted in shell configuration output.\r\n\r\nBig thanks to feedback from several within our user community including @ifalatiksetlog, @xt0rted, @rlove, @masewo, @dubois as well as out of office help from @colinshum! :heart:\r\n\r\nFor more information, see https://github.com/github/gh-copilot/issues/47.", "reactions": { "url": "https://api.github.com/repos/github/gh-copilot/releases/147991338/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }, "mentions_count": 6 } * Request took 8.832417ms * Request at 2024-03-25 22:49:13.036763 +0100 CET m=+0.508304834 * Request to https://api.github.com/repos/github/gh-copilot/releases/assets/158140865 > GET /repos/github/gh-copilot/releases/assets/158140865 HTTP/1.1 > Host: api.github.com > Accept: application/octet-stream > Authorization: token ████████████████████ > Content-Type: application/json; charset=utf-8 > Time-Zone: Europe/Paris > User-Agent: GitHub CLI 2.46.0 > X-Gh-Cache-Ttl: 30s < HTTP/2.0 302 Found < Access-Control-Allow-Origin: * < Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset < Content-Length: 0 < Content-Security-Policy: default-src 'none' < Content-Type: text/html;charset=utf-8 < Date: Mon, 25 Mar 2024 21:49:13 GMT < Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/710311348/d650efd8-139c-4306-bcd2-46ad743847e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240325%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240325T214913Z&X-Amz-Expires=300&X-Amz-Signature=fad0ee6d072716df35b844012ce28373fb6524968b4e60f9e6d50d59c4b5579e&X-Amz-SignedHeaders=host&actor_id=879889&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream < Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin < Server: GitHub.com < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < Vary: Accept-Encoding, Accept, X-Requested-With < X-Content-Type-Options: nosniff < X-Frame-Options: deny < X-Github-Api-Version-Selected: 2022-11-28 < X-Github-Request-Id: 47AE:284D02:1D0B8EF:1D2A01C:6601F159 < X-Ratelimit-Limit: 5000 < X-Ratelimit-Remaining: 4992 < X-Ratelimit-Reset: 1711406790 < X-Ratelimit-Resource: core < X-Ratelimit-Used: 8 < X-Xss-Protection: 0 * Request took 305.943709ms * Request at 2024-03-25 22:49:13.342768 +0100 CET m=+0.814308168 * Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/710311348/d650efd8-139c-4306-bcd2-46ad743847e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240325%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240325T214913Z&X-Amz-Expires=300&X-Amz-Signature=fad0ee6d072716df35b844012ce28373fb6524968b4e60f9e6d50d59c4b5579e&X-Amz-SignedHeaders=host&actor_id=879889&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream > GET /github-production-release-asset-2e65be/710311348/d650efd8-139c-4306-bcd2-46ad743847e3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240325%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240325T214913Z&X-Amz-Expires=300&X-Amz-Signature=fad0ee6d072716df35b844012ce28373fb6524968b4e60f9e6d50d59c4b5579e&X-Amz-SignedHeaders=host&actor_id=879889&key_id=0&repo_id=710311348&response-content-disposition=attachment%3B%20filename%3Ddarwin-arm64&response-content-type=application%2Foctet-stream > Host: objects.githubusercontent.com > Accept: application/octet-stream > Content-Type: application/json; charset=utf-8 > Referer: https://api.github.com/repos/github/gh-copilot/releases/assets/158140865 > Time-Zone: Europe/Paris > User-Agent: GitHub CLI 2.46.0 > X-Gh-Cache-Ttl: 30s < HTTP/2.0 200 OK < Accept-Ranges: bytes < Age: 86 < Content-Disposition: attachment; filename=darwin-arm64 < Content-Length: 32993570 < Content-Md5: c7SdjYoWBgqJTsG6uNKz/w== < Content-Type: application/octet-stream < Date: Mon, 25 Mar 2024 21:49:13 GMT < Etag: "0x8DC4AAC6A47289C" < Last-Modified: Fri, 22 Mar 2024 20:12:35 GMT < Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 < Via: 1.1 varnish, 1.1 varnish < X-Cache: HIT, HIT < X-Cache-Hits: 1743, 0 < X-Ms-Blob-Type: BlockBlob < X-Ms-Creation-Time: Fri, 22 Mar 2024 20:12:35 GMT < X-Ms-Lease-State: available < X-Ms-Lease-Status: unlocked < X-Ms-Request-Id: 9ecd0b22-201e-002d-5a95-7c5226000000 < X-Ms-Server-Encrypted: true < X-Ms-Version: 2020-10-02 < X-Served-By: cache-iad-kjyo7100099-IAD, cache-par-lfpg1960079-PAR < X-Timer: S1711403354.514001,VS0,VE341 * Request took 7.735966958s upgraded from v0.5.3-beta to v1.0.1 ✓ Successfully upgraded extension ```

The fourth one worked also:

$ wget https://github.com/github/gh-copilot/releases/download/v1.0.0/darwin-arm64
andyfeller commented 6 months ago

@MartinDelille : I suspect you had some type of network issue outside of your control as every one of those commands is a different way to download the same resource. All good!