Skip to content

Commit b674553

Browse files
committed
Include binaries in release
1 parent a56cca5 commit b674553

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ evcc
77
linux-*.Dockerfile
88
!evcc.dist.yaml
99
!modules/**
10+
dist

.goreleaser.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ release:
88
before:
99
hooks:
1010
# you may remove this if you don't need go generate
11-
- go generate ./...
11+
- make assets
1212
builds:
1313
- id: evcc
1414
# Path to main.go file or main package.
1515
main: main.go
1616
ldflags:
17-
- -X github.com/andig/evcc.Version={{.Version}} -X github.com/andig/evcc.Commit={{.ShortCommit}}
17+
- -X github.com/andig/evcc/server.Version={{.Version}} -X github.com/andig/evcc/server.Commit={{.ShortCommit}}
1818
env:
1919
- CGO_ENABLED=0
2020
goos:
@@ -25,6 +25,17 @@ builds:
2525
- arm
2626
goarm:
2727
- "6"
28+
archives:
29+
- builds:
30+
- evcc
31+
replacements:
32+
amd64: 64-bit
33+
386: 32-bit
34+
darwin: macOS
35+
format: tar.gz
36+
format_overrides:
37+
- goos: windows
38+
format: zip
2839
checksum:
2940
name_template: 'checksums.txt'
3041
snapshot:

0 commit comments

Comments
 (0)