Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,27 @@ builds:
goarch: [amd64, arm64]

archives:
- formats: [tar.gz]
- id: versioned
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# Same archives without the version, so docs can link a stable
# releases/latest/download/<name> URL.
- id: unversioned
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"

checksum:
name_template: checksums.txt

homebrew_casks:
- name: webshare
ids: [versioned]
repository:
owner: webshare-proxy
name: homebrew-tap
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ amd64 and arm64; each release includes a `checksums.txt`.

```sh
# example: Linux on amd64
tar -xzf webshare_*_linux_amd64.tar.gz
curl -fsSLO https://github.com/webshare-proxy/webshare-cli/releases/latest/download/webshare_linux_amd64.tar.gz
tar -xzf webshare_linux_amd64.tar.gz
sudo mv webshare /usr/local/bin/
```

Expand Down
Loading