二进制包改由七牛存储

pull/21/merge
ouqiang 2017-05-09 09:45:50 +08:00
parent 85996077ec
commit 6f76d3b17e
2 changed files with 27 additions and 1 deletions

View File

@ -30,7 +30,7 @@
## 安装
### 二进制安装
1. [下载](https://pan.baidu.com/s/1pLNRndx#list/path=%2Fgocron), 解压压缩包
1. [下载](http://opns468ov.bkt.clouddn.com/index.html), 解压压缩包
2. `cd 解压目录`
3. 启动
* Windows: `gocron.exe web`

View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# set -x -u
# 上传二进制包到七牛
# 打包
for i in linux darwin windows
do
./build.sh -p $i
if [[ ! $? ]];then
break
fi
done
# 上传
for i in `ls gocron*.gz gocron*.zip`
do
# 身份认证 qrsctl login <AccessKey> <SecretKey>
# 上传文件 qrsctl put bucket key srcFile
qrsctl put github "gocron/${i}" $i
if [[ ! $? ]];then
break
fi
rm $i
done
echo '打包并上传成功'