Skip to content

Commit

Permalink
Merge pull request #808 from buildpacks/feature/add-choco-to-release-…
Browse files Browse the repository at this point in the history
…notes

CI: Add Windows chocolatey install, fix Linux Command
  • Loading branch information
jromero authored Aug 18, 2020
2 parents 86038e2 + 3ec66c7 commit ecf5e71
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,6 @@ jobs:
## Install
#### macOS
If you're on macOS, you can use Homebrew:
```bash
$ brew install buildpacks/tap/pack
```
#### Linux
On Linux you can use the one of the following methods of installation.
Expand All @@ -195,12 +187,26 @@ jobs:
##### Command
```bash
(export GH=buildpacks/pack; export LATEST=$(curl -s https://api.github.com/repos/$GH/releases/latest | grep -o -E "https://.+?-linux.tgz"); echo "$LATEST"; curl -sSL "$LATEST" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv $(basename $GH))
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v${{ env.PACK_VERSION }}/pack-v${{ env.PACK_VERSION }}-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
```
#### macOS
On macOS, you can use Homebrew:
```bash
brew install buildpacks/tap/pack
```
#### Others
#### Windows
On Windows, you can use [Chocolatey](https://chocolatey.org/):
```bash
choco install pack
```
Otherwise:
#### Manual
1. Download the `.tgz` or `.zip` file for your platform
2. Extract the `pack` binary
Expand Down

0 comments on commit ecf5e71

Please sign in to comment.