diff --git a/bucket/heroku-cli.json b/bucket/heroku-cli.json new file mode 100644 index 0000000000..8d4a893fb5 --- /dev/null +++ b/bucket/heroku-cli.json @@ -0,0 +1,51 @@ +{ + "version": "7.27.1", + "homepage": "https://devcenter.heroku.com/articles/heroku-cli", + "description": "An essential part of using Heroku, which can perform nearly any Heroku-related task right from your terminal.", + "license": "ISC", + "architecture": { + "64bit": { + "url": "https://cli-assets.heroku.com/heroku-win32-x64.tar.xz#/dl.xz", + "hash": "6374c4484ff861f56c889cd495a3c05d1a9584bb7ad67da09575e924956d8ab4" + }, + "32bit": { + "url": "https://cli-assets.heroku.com/heroku-win32-x86.tar.xz#/dl.xz", + "hash": "5b01e3576caa4af94e2cb147cb2795153edad272c46c9d6090adb58c502e8444" + } + }, + "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/version", + "jsonpath": "$.version" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cli-assets.heroku.com/heroku-win32-x64.tar.xz#/dl.xz", + "hash": { + "url": "https://cli-assets.heroku.com/win32-x64", + "jsonpath": "$.sha256xz" + } + }, + "32bit": { + "url": "https://cli-assets.heroku.com/heroku-win32-x86.tar.xz#/dl.xz", + "hash": { + "url": "https://cli-assets.heroku.com/win32-x86", + "jsonpath": "$.sha256xz" + } + } + } + } +}