用于创建 Coding 发布使用的 Release Checklist 文档
windows 用户请先设置环境变量 $GOBIN
curl https://raw.githubusercontent.com/coding/coding-cli/master/install.sh | sh
或者下载源码编译安装
示例命令:coding-cli login -u username
在用户目录下创建一个 ~/.coding_release_rc 文件保存 session
在当前目录生成 Markdown 格式的 Release 文件
示例命令:coding-cli release release-20181122 general-products -p coding-frontend -o release-20181122-general-products.md
示例命令:coding-cli release master enterprise-saas -o release-20181030.1-enterprise.md -l enterprise-saas -t normal -n 1 -c ~/.coding_release.yml
查看帮助:coding-cli release -h
示例命令:coding-cli env add -c "redis.host=17.0.0.1" -f add_redis_host
示例命令:coding-cli pt -t sample -a "add column nickname varchar(32) default null comment '昵称' after id" -f sample_table_add_nickname_col
示例命令:coding-cli sql -c " UPDATE sample SET nickname='tom' WHERE id = 1 " -f update_sample_nickname
service:
- name: e-coding
migrate: enterprise/app/e-coding/doc/mysql/migrate_script
source:
- enterprise/app/e-coding
- name: e-front
migrate:
source:
- frontend/coding-front-v2