Skip to content

Commit

Permalink
cask - docs, installer, pipeline (cloud-custodian#4694)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangordon authored Aug 27, 2019
1 parent 56bf92b commit 901375d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/cask-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ trigger:
- master
paths:
include:
- tools/custodian-cask/*
- tools/cask/*

variables:
- group: CustodianCoreCI
Expand Down
4 changes: 2 additions & 2 deletions tools/cask/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Linux
sudo sh -c 'wget -q https://cloudcustodian.io/downloads/custodian-cask/linux-latest/custodian-cask -P /usr/local/bin && chmod +x /usr/local/bin/custodian-cask'
```

Darwin
MacOS (Darwin)

```shell
sudo sh -c 'wget -q https://cloudcustodian.io/downloads/custodian-cask/darwin-latest/custodian-cask -P /usr/local/bin && chmod +x /usr/local/bin/custodian-cask'
sudo sh -c '(cd /usr/local/bin && curl -fsSLO https://cloudcustodian.io/downloads/custodian-cask/darwin-latest/custodian-cask && chmod +x /usr/local/bin/custodian-cask)'
```

Windows (cmd.exe)
Expand Down
3 changes: 3 additions & 0 deletions tools/cask/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ $base = "$env:LOCALAPPDATA\custodian"

try
{
# Ensure folder
md -Force $base | Out-Null

# Download
Invoke-WebRequest -OutFile "$base\custodian-cask.exe" "$url"

Expand Down

0 comments on commit 901375d

Please sign in to comment.