5 Star 4 Fork 2

TelDB/DBNEST

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
make.sh 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
AricSu 提交于 2021-10-08 22:45 . add make.sh
#!/bin/bash
version_date=$(date '+%Y-%m-%d_%H-%M-%S')
version_path=./archived_docs/docs_${version_date}/
mkdir ${version_path}
# backup blog content
cp -rp website/blog ${version_path}
# backup DB-oracle content
cp -rp website/docs/DB-Oracle ${version_path}
# backup DB-sqlserver content
cp -rp website/docs/DB-MS\ Server ${version_path}
# backup DB-tidb content
cp -rp website/docs/DB-TiDB ${version_path}
# backup Scenario content
cp -rp website/docs/Scenario-DB ${version_path}
touch ${version_path}README.md
echo "Please input some message about this commit,"
echo "using statement : echo 'YOUR MESSAGE' > ${version_path}README.md"
# update the new docs about tidb
rm -rf website/docs/DB-TiDB/*
cp -rp docs-tidb/* website/docs/DB-TiDB
# update the new docs about oracle
rm -rf website/docs/DB-Oracle/*
cp -rp docs-oracle/* website/docs/DB-Oracle
# update the new docs about sqlserver
rm -rf website/docs/DB-MS\ Server/*
cp -rp docs-sqlserver/* website/docs/DB-MS\ Server
# update the new docs about Scenario
rm -rf website/docs/Scenario-DB/*
cp -rp docs-scenario/* website/docs/Scenario-DB
# update the new docs about blog
rm -rf website/blog/*
cp -rp docs-blog/* website/blog
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tel-db/dbnest.git
[email protected]:tel-db/dbnest.git
tel-db
dbnest
DBNEST
master

搜索帮助