Skip to content

Commit f9272df

Browse files
committed
build: update release binary name to follow the standard naming
1 parent ebced03 commit f9272df

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

.goreleaser.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ builds:
2121
- amd64
2222
- arm64
2323
archives:
24-
- name_template: >-
25-
{{- .ProjectName }}_
26-
{{- .Os }}_
27-
{{- if eq .Arch "amd64" }}x86_64
28-
{{- else if eq .Arch "386" }}i386
29-
{{- else }}{{ .Arch }}{{ end }}
30-
{{- if .Arm }}v{{ .Arm }}{{ end -}}
24+
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3125
release:
3226
prerelease: auto
3327
changelog:

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,7 @@ Creates new connections for each request, immediately closing them afterward. Th
7676

7777
### Pre-built Binaries
7878

79-
Download the latest pre-built binaries from the [GitHub Releases](https://github.com/yuuki/tcpulse/releases) page:
80-
81-
```bash
82-
# Linux (x86_64)
83-
curl -LO https://github.com/yuuki/tcpulse/releases/latest/download/tcpulse_linux_x86_64.tar.gz
84-
tar -xzf tcpulse_linux_x86_64.tar.gz
85-
sudo mv tcpulse /usr/local/bin/
86-
87-
# macOS (x86_64)
88-
curl -LO https://github.com/yuuki/tcpulse/releases/latest/download/tcpulse_darwin_x86_64.tar.gz
89-
tar -xzf tcpulse_darwin_x86_64.tar.gz
90-
sudo mv tcpulse /usr/local/bin/
91-
92-
# macOS (Apple Silicon)
93-
curl -LO https://github.com/yuuki/tcpulse/releases/latest/download/tcpulse_darwin_arm64.tar.gz
94-
tar -xzf tcpulse_darwin_arm64.tar.gz
95-
sudo mv tcpulse /usr/local/bin/
96-
```
79+
Download the latest pre-built binaries from the [GitHub Releases](https://github.com/yuuki/tcpulse/releases) page.
9780

9881
### Build from Source
9982

0 commit comments

Comments
 (0)