Ai
1 Star 0 Fork 0

JavaEdge/lettuce-core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
prepare-apidocs-upload.sh 623 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mark Paluch 提交于 2015-08-18 20:08 +08:00 . Adjust site build
#!/bin/bash
VERSION=$(xpath -e "/project/version" pom.xml 2>/dev/null | sed 's/<version>//g;s/<\/version>//g')
if [[ "" == "${VERSION}" ]]
then
echo "Cannot determine version"
exit 1
fi
BASE=target/redis.paluch.biz
TARGET_BASE=/docs/api/releases/
git clone https://github.com/mp911de/redis.paluch.biz.git ${BASE}
cd ${BASE} && git checkout gh-pages && cd ../..
if [[ ${VERSION} == *"SNAPSHOT"* ]]
then
TARGET_BASE=/docs/api/snapshots/
fi
TARGET_DIR=${BASE}${TARGET_BASE}${VERSION}
mkdir -p ${TARGET_DIR}
cp -R target/site/apidocs/* ${TARGET_DIR}
cd ${BASE}
git add .
git commit -m "Generated API docs"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/JavaEdge/lettuce-core.git
git@gitee.com:JavaEdge/lettuce-core.git
JavaEdge
lettuce-core
lettuce-core
3.4.x

搜索帮助