fix: include architecture and version information in linux packages (#2511)

This commit is contained in:
Dean Sheather
2022-06-19 13:56:07 -05:00
committed by GitHub
parent 97348b1c9d
commit 153ffc0ee9

View File

@ -75,7 +75,8 @@ formats=(apk deb rpm)
for format in "${formats[@]}"; do
output_path="$input_file.$format"
log "--- Building $format package ($output_path)"
nfpm package \
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
-f nfpm.yaml \
-p "$format" \
-t "$output_path"