fix(goreleaser): add vendor dependency tarball
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-02-16 18:53:36 +01:00
parent db66371420
commit bf04f59468
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -3,11 +3,11 @@
before:
hooks:
- make clean
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
# - go generate ./...
# Make manpages
- doc/makeman.sh
# Vendor dependencies
- go mod vendor
builds:
- env:
- CGO_ENABLED=0
@ -24,13 +24,22 @@ archives:
- LICENCE
- completions/**
- doc/awl.1.gz
replacements:
darwin: macOS
linux: Linux
windows: Windows
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- .Arch }}
format_overrides:
- goos: windows
format: zip
rlcp: true
- files:
- vendor/**
id: vendor
format: tar.xz
name_template: "{{ .ProjectName }}-{{ .Version }}-deps"
meta: true
wrap_in_directory: "{{ .ProjectName }}"
rlcp: true
checksum:
name_template: "checksums.txt"