Skip to content

Commit 256d19e

Browse files
committed
Add Windows binary to releases
1 parent cf8deef commit 256d19e

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.goreleaser.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# you may remove this if you don't use vgo
6+
- go mod download
7+
builds:
8+
- env:
9+
- CGO_ENABLED=0
10+
goos:
11+
- linux
12+
- darwin
13+
- windows
14+
goarch:
15+
- 386
16+
- amd64
17+
archive:
18+
replacements:
19+
darwin: Darwin
20+
linux: Linux
21+
windows: Windows
22+
386: 32bit
23+
amd64: x64
24+
format_overrides:
25+
- goos: windows
26+
format: zip
27+
checksum:
28+
name_template: 'checksums.txt'
29+
snapshot:
30+
name_template: "{{ .Tag }}-next"
31+
changelog:
32+
sort: asc
33+
filters:
34+
exclude:
35+
- '^docs:'
36+
- '^test:'

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ Alerts you when you're on VPN for too long.
44

55

66
## Install
7+
Grab an binary executable for your OS from [Releases](https://github.com/peteretelej/vpn-timer/releases)
8+
9+
Or, if you have Go:
710
```
811
go get github.com/peteretelej/vpn-timer
912
```
1013

14+
15+
1116
## Use
1217
```
1318
vpn-timer -ip 123.45.67.89

0 commit comments

Comments
 (0)