Add homebrew tap (#110)

* test homebrew task

* secret HOMEBREW_TAP_GITHUB_TOKEN

* prepare for pr

* use homebrew-client

* add brew install
This commit is contained in:
Maycon Santos 2021-09-06 14:15:08 +02:00 committed by GitHub
parent 6c233fcc3f
commit ee3c292699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

View File

@ -50,6 +50,7 @@ jobs:
args: release --rm-dist args: release --rm-dist
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
- -
id: get_version id: get_version
uses: battila7/get-version-action@v2 uses: battila7/get-version-action@v2

View File

@ -182,3 +182,19 @@ docker_manifests:
image_templates: image_templates:
- wiretrustee/management:{{ .Version }}-debug-arm64v8 - wiretrustee/management:{{ .Version }}-debug-arm64v8
- wiretrustee/management:{{ .Version }}-debug-amd64 - wiretrustee/management:{{ .Version }}-debug-amd64
brews:
-
tap:
owner: wiretrustee
name: homebrew-client
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: Wiretrustee
email: wiretrustee@wiretrustee.com
description: Wiretrustee project.
download_strategy: CurlDownloadStrategy
homepage: https://wiretrustee.com/
license: "BSD3"
test: |
system "#{bin}/{{ .ProjectName }} -h"

View File

@ -64,6 +64,13 @@ wget https://github.com/wiretrustee/wiretrustee/releases/download/v<VERSION>/wir
sudo rpm -i wiretrustee_<VERSION>_linux_amd64.rpm sudo rpm -i wiretrustee_<VERSION>_linux_amd64.rpm
``` ```
#### MACOS #### MACOS
**Brew install**
1. Download and install Brew at https://brew.sh/
2. Install the client
```shell
brew install wiretrustee/client/wiretrustee
```
**Download binary**
1. Checkout Wiretrustee [releases](https://github.com/wiretrustee/wiretrustee/releases/latest) 1. Checkout Wiretrustee [releases](https://github.com/wiretrustee/wiretrustee/releases/latest)
2. Download the latest release (**Switch VERSION to the latest**): 2. Download the latest release (**Switch VERSION to the latest**):
```shell ```shell