ci: improve API usage and test robustness across platforms

- Add `dir: ./dist/` to `.goreleaser.yaml` builds configuration

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-04-28 22:56:20 +08:00
parent 0cf31b2d22
commit 0995fbfbe1

View file

@ -72,6 +72,7 @@ builds:
hooks:
post:
- cmd: tar -cJf {{ .Path }}.xz {{ .Path }}
dir: ./dist/
env:
- XZ_OPT=-9
- cmd: sh .goreleaser.checksum.sh {{ .Path }}
@ -108,4 +109,4 @@ gitea_urls:
download: https://gitea.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
# vim: set ts=2 sw=2 tw=0 fo=cnqoj