1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tools/docker/fetch_release.sh

18 lines
225 B
Bash
Raw Normal View History

#!/bin/sh
set -e
PLATFORM=$1
PSHORT=${PLATFORM#"linux/"}
echo "PSHORT ${PSHORT}"
if [ "${PSHORT}" = "amd64" ]; then
SUFFIX='x86_64'
else
SUFFIX='aarch64'
fi
mv /tmp/dragonfly-${SUFFIX} /build/dragonfly
ls -l /build/