GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wbw295/coding-cli: Coding release cli

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.coding_release.yml.sample
.coding_release.yml.sample
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 

Repository files navigation

Coding Release 发布工具

简介

用于创建 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

生成 Release 文件

在当前目录生成 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

图片

创建 pt-online-schema-change 数据库表结构更新文件

示例命令:coding-cli pt -t sample -a "add column nickname varchar(32) default null comment '昵称' after id" -f sample_table_add_nickname_col

图片

创建数据库数据更新 SQL 文件

示例命令:coding-cli sql -c " UPDATE sample SET nickname='tom' WHERE id = 1 " -f update_sample_nickname

图片

.coding_release.yml 文件示例

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

About

Coding release cli

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.