Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions scripts/linux-pkg/coder-openrc

This file was deleted.

39 changes: 0 additions & 39 deletions scripts/linux-pkg/coder-workspace-proxy-openrc

This file was deleted.

29 changes: 0 additions & 29 deletions scripts/linux-pkg/nfpm-alpine.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,9 @@ ln "$(realpath scripts/linux-pkg/nfpm.yaml)" "$temp_dir/"
ln "$(realpath scripts/linux-pkg/nfpm-alpine.yaml)" "$temp_dir/"
ln "$(realpath scripts/linux-pkg/preinstall.sh)" "$temp_dir/"

nfpm_config_file="nfpm.yaml"

# Use nfpm-alpine.yaml when building for Alpine (OpenRC).
if [[ "$format" == "apk" ]]; then
nfpm_config_file="nfpm-alpine.yaml"
fi

pushd "$temp_dir"
GOARCH="$arch" CODER_VERSION="$version" nfpm package \
-f "$nfpm_config_file" \
-f nfpm.yaml \
-p "$format" \
-t "$output_path" \
1>&2
Expand Down