We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 798dc0b commit 31b3460Copy full SHA for 31b3460
ci/build/build-packages.sh
@@ -59,14 +59,20 @@ get_nfpm_arch() {
59
release_nfpm() {
60
local nfpm_config
61
62
+ export NFPM_ARCH
63
+
64
PKG_FORMAT="deb"
65
NFPM_ARCH="$(get_nfpm_arch)"
66
nfpm_config="$(envsubst < ./ci/build/nfpm.yaml)"
67
+ echo "Building deb"
68
+ echo "$nfpm_config" | head --lines=4
69
nfpm pkg -f <(echo "$nfpm_config") --target "release-packages/code-server_${VERSION}_${NFPM_ARCH}.deb"
70
71
PKG_FORMAT="rpm"
72
73
74
+ echo "Building rpm"
75
76
nfpm pkg -f <(echo "$nfpm_config") --target "release-packages/code-server-$VERSION-$NFPM_ARCH.rpm"
77
}
78
0 commit comments