From 4eb8222e6b4c7b89a2e633cdb3c90f5fd991c0da Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Sun, 4 Aug 2019 02:01:00 +0000 Subject: [PATCH] Heroku-Cli: Move from extras (#283) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Move from extras * remove sudo * Update * remove sudo * Update * Catch error * Update bucket/heroku-cli.json Co-Authored-By: Jakub Čábera --- bucket/heroku-cli.json | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 bucket/heroku-cli.json 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" + } + } + } + } +}