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