Skip to content

Commit

Permalink
chore: update goreleaser cfg
Browse files Browse the repository at this point in the history
* add hooks
* set prelease for release
* additional archive files

Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Sep 6, 2023
1 parent 2154cc6 commit 317244c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
env:
- CGO_ENABLED=1

before:
hooks:
- go mod tidy

release:
prerelease: auto

builds:
- id: teler-proxy_darwin-amd64
binary: teler-proxy
Expand Down Expand Up @@ -95,6 +102,11 @@ archives:
- teler-proxy_windows-amd64
name_template: "teler-proxy_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
files:
- "LICENSE*"
- "README*"
- "NOTICE"
- "teler-waf.conf.example.*"
format: zip

checksum:
Expand Down

0 comments on commit 317244c

Please sign in to comment.