lightsystemdarkgreen
@ 261119.86 · fetching
current
{
    "version": "11.14.0",
    "description": "An essential part of using Heroku, which can perform nearly any Heroku-related task right from your terminal.",
    "homepage": "https://devcenter.heroku.com/articles/heroku-cli",
    "license": "ISC",
    "architecture": {
        "64bit": {
            "url": "https://cli-assets.heroku.com/versions/11.14.0/847d18e/heroku-v11.14.0-847d18e-win32-x64.tar.xz#/dl.xz",
            "hash": "9d75bf18559d88dbe69e2e432e60099c1918daf7a0bbd449ca456ef943d97d96"
        },
        "32bit": {
            "url": "https://cli-assets.heroku.com/versions/11.14.0/847d18e/heroku-v11.14.0-847d18e-win32-x86.tar.xz#/dl.xz",
            "hash": "4c4c4c367109be5fb5327c8dc3fbe635470faaa18f510957dfbcb36fb8060b78"
        }
    },
    "pre_install": [
        "Invoke-ExternalCommand (Get-HelperPath '7zip') -ArgumentList @(",
        "    'x'",
        "    \"$dir\\dl\"",
        "    \"-o$dir\\dlo\"",
        "    '-bso0'",
        "    '-bd'",
        "    '-bse0'",
        ") -ContinueExitCodes @{ 2 = 'Can not create symlink while running from un-elevated prompt. Installation is not affected.'} | Out-Null",
        "Move-Item \"$dir\\dlo\\heroku\\*\" \"$dir\"",
        "Remove-Item \"$dir\\dl*\" -Recurse"
    ],
    "bin": "bin\\heroku.cmd",
    "checkver": {
        "url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x64-buildmanifest",
        "jsonpath": "$.xz",
        "regex": "heroku-v([\\d.]+)-(?<commit>\\w+)-win32"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://cli-assets.heroku.com/versions/$version/$matchCommit/heroku-v$version-$matchCommit-win32-x64.tar.xz#/dl.xz",
                "hash": {
                    "url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x64-buildmanifest",
                    "regex": "sha256xz.*$sha256"
                }
            },
            "32bit": {
                "url": "https://cli-assets.heroku.com/versions/$version/$matchCommit/heroku-v$version-$matchCommit-win32-x86.tar.xz#/dl.xz",
                "hash": {
                    "url": "https://cli-assets.heroku.com/channels/stable/heroku-win32-x86-buildmanifest",
                    "regex": "sha256xz.*$sha256"
                }
            }
        }
    }
}