From ea00c895ac92fc556189a52b7a8c667bf8b1913b Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Sun, 19 Jun 2022 13:22:39 -0500 Subject: [PATCH] fix: include architecture and version information in linux packages --- scripts/package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/package.sh b/scripts/package.sh index ee1f3b3fe2f3f..0dc7d3503653e 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -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"