1 Star 0 Fork 0

胡超超/crane

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
download.sh 744 Bytes
一键复制 编辑 原始数据 按行查看 历史
Michael Sauter 提交于 2021-11-22 20:35 . Bump version to 3.6.1
#!/usr/bin/env bash
# Set version to latest unless set by user
if [ -z "$VERSION" ]; then
VERSION="3.6.1"
fi
echo "Downloading version ${VERSION}..."
# OS information (contains e.g. darwin x86_64)
UNAME=`uname -a | awk '{print tolower($0)}'`
if [[ ($UNAME == *"mac os x"*) || ($UNAME == *darwin*) ]]
then
PLATFORM="darwin"
else
PLATFORM="linux"
fi
if [[ ($UNAME == *x86_64*) || ($UNAME == *amd64*) ]]
then
ARCH="amd64"
else
echo "Currently, there are no 32bit binaries provided."
echo "You will need to build binaries yourself."
exit 1
fi
# Download binary
curl -L -o crane "https://github.com/michaelsauter/crane/releases/download/v${VERSION}/crane_${PLATFORM}_${ARCH}"
# Make binary executable
chmod +x crane
echo "Done."
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hu_chaochao/crane.git
git@gitee.com:hu_chaochao/crane.git
hu_chaochao
crane
crane
master

搜索帮助