We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a8e7ee commit 612e3f2Copy full SHA for 612e3f2
1 file changed
scripts/download
@@ -33,7 +33,9 @@ if [[ -z "${LOCAL_ARTIFACTS}" ]]; then
33
curl -sfL -R -o "k3s${SUFFIX}" https://github.com/k3s-io/k3s/releases/download/${URI_VERSION}/k3s${SUFFIX}
34
curl -sfL -R -o sha256sum-${ARCH}.txt https://github.com/k3s-io/k3s/releases/download/${URI_VERSION}/sha256sum-${ARCH}.txt
35
fi
36
- grep -E "^[0-9a-f]+ k3s${SUFFIX}$" sha256sum-${ARCH}.txt | sha256sum -c -
+ mv -f "k3s${SUFFIX}" k3s || true
37
+ sed -i "s/k3s${SUFFIX}$/k3s/" sha256sum-${ARCH}.txt
38
+ grep -E "^[0-9a-f]+ k3s$" sha256sum-${ARCH}.txt | sha256sum -c -
39
popd
40
else
41
cp local/* artifacts
0 commit comments