Skip to content

Commit 5803a1b

Browse files
Releaser: Change binary format (#20)
1 parent f2a8ab6 commit 5803a1b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.goreleaser.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ builds:
1818
- 386
1919
- arm
2020
archive:
21+
format: binary
22+
name_template: "{{.ProjectName}}-{{.Os}}-{{.Arch}}"
2123
replacements:
22-
darwin: Darwin
23-
linux: Linux
24-
windows: Windows
2524
386: i386
2625
amd64: x86_64
2726
checksum:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ specific cron jobs using the crontab. Example:
1818

1919
### Linux (x86 64-bit)
2020
```shell
21-
curl -L https://github.com/jacobtomlinson/krontab/releases/download/{LATEST VERSION}/krontab-linux-amd64 -o /usr/local/bin/krontab
21+
curl -L https://github.com/jacobtomlinson/krontab/releases/download/{LATEST VERSION}/krontab-linux-x86_64 -o /usr/local/bin/krontab
2222
chmod +x /usr/local/bin/krontab
2323
```
2424

@@ -30,7 +30,7 @@ chmod +x /usr/local/bin/krontab
3030

3131
### OS X (64-bit)
3232
```shell
33-
curl -L https://github.com/jacobtomlinson/krontab/releases/download/{LATEST VERSION}/krontab-darwin-amd64 -o /usr/local/bin/krontab
33+
curl -L https://github.com/jacobtomlinson/krontab/releases/download/{LATEST VERSION}/krontab-darwin-x86_64 -o /usr/local/bin/krontab
3434
chmod +x /usr/local/bin/krontab
3535
```
3636

0 commit comments

Comments
 (0)