Skip to content

Commit 153ffc0

Browse files
authored
fix: include architecture and version information in linux packages (coder#2511)
1 parent 97348b1 commit 153ffc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ formats=(apk deb rpm)
7575
for format in "${formats[@]}"; do
7676
output_path="$input_file.$format"
7777
log "--- Building $format package ($output_path)"
78-
nfpm package \
78+
79+
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
7980
-f nfpm.yaml \
8081
-p "$format" \
8182
-t "$output_path"

0 commit comments

Comments
 (0)