Skip to content

Commit 2395e70

Browse files
committed
fix goreleaser
1 parent 5dab65f commit 2395e70

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.goreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
version: 2
2+
13
before:
24
hooks:
3-
- go get github.com/rakyll/statik
4-
- $GOPATH/bin/statik -src=./server/static -include='*.html'
5+
- go install github.com/rakyll/[email protected] && statik -src=./server/static -include='*.html'
56
- go mod download
67
builds:
78
- env:
@@ -17,7 +18,7 @@ archives:
1718
checksum:
1819
name_template: 'checksums.txt'
1920
snapshot:
20-
name_template: "{{ .Tag }}-next"
21+
version_template: "{{ .Tag }}-next"
2122
changelog:
2223
sort: asc
2324
filters:

0 commit comments

Comments
 (0)