用于管理版本的cli工具
flying的Python项目详细描述
#飞行![PYPI](https://img.shields.io/PYPI/v/flying.svg)
git标签
2.npm发布
3.Docker Build&;推
4。PYPI构建upload
## Example
[https://github.com/joway/flying-example](https://github.com/joway/flying-example)
## Install
```shell
pip install -U flying
```
## Usage
### init
Create `flying.json` template
```shell
flying init .
```
### release
Release 在flying.json中设置的当前版本。
``shell
flying release
`````
`自动升级版本(+0.0.1)
``shell
`` shell
`` flying release-flying release升级版`
```
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
{
“name”:“flying example”,
“version”:“0.0.8”,
“版本前缀”:“v”,
“条件”:[
“Git状态grep““无需提交,工作树清理”
],
“预发布”:[
“cat./flying.json”
],
“git”:{
“启用”:true,
“远程”:“原点”,
},
“docker”:{
“启用”:true,
“namespace”:“joway/flying example”,
“dkf路径”:“../dockerfile”
},
“npm”:{
“enable”:true,
“package路径”:“../package.json”
},
“pypi”:{
“enable”:false,
“build\u cmd”:“python setup.py sdist”,
“upload_md”:“捆绳上载距离/*”
}
}
`````
例如,当您设置:
BR/>‘JSON/BR/>“条件”:[BR/> Git状态> GRP\“没有承诺,工作树整洁”,“
”,
'BR/> BR/>如果您的项目有任何未经修改的文件更改,它将被阻止。
如果您使用的是webpack,则可以设置这一行:
``json
“pre-release”:[“npm run-build”]
````
push new version tag to git remote server.
-`namespace`:例如,将其设置为“joway/flying example”,它将Docker图像推为“joway/flying example:v x.x.x”(如果version_prefix=“v”)。
-`dkf `路径`:dockerfile相对于项目根目录的路径。
<
-`package `路径`:package.json相对于项目根目录的路径。
-`upgrade_version_enable`:如果设置为“true”,则在exec'flying release-flying-release-upgrade`
<
/>
//
//`>
自定义拥有Build&;Upload Commond by set`build\u cmd`和`upload\u cmd`
git标签
2.npm发布
3.Docker Build&;推
4。PYPI构建upload
## Example
[https://github.com/joway/flying-example](https://github.com/joway/flying-example)
## Install
```shell
pip install -U flying
```
## Usage
### init
Create `flying.json` template
```shell
flying init .
```
### release
Release 在flying.json中设置的当前版本。
``shell
flying release
`````
`自动升级版本(+0.0.1)
``shell
`` shell
`` flying release-flying release升级版`
```
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
{
“name”:“flying example”,
“version”:“0.0.8”,
“版本前缀”:“v”,
“条件”:[
“Git状态grep““无需提交,工作树清理”
],
“预发布”:[
“cat./flying.json”
],
“git”:{
“启用”:true,
“远程”:“原点”,
},
“docker”:{
“启用”:true,
“namespace”:“joway/flying example”,
“dkf路径”:“../dockerfile”
},
“npm”:{
“enable”:true,
“package路径”:“../package.json”
},
“pypi”:{
“enable”:false,
“build\u cmd”:“python setup.py sdist”,
“upload_md”:“捆绳上载距离/*”
}
}
`````
例如,当您设置:
BR/>‘JSON/BR/>“条件”:[BR/> Git状态> GRP\“没有承诺,工作树整洁”,“
”,
'BR/> BR/>如果您的项目有任何未经修改的文件更改,它将被阻止。
如果您使用的是webpack,则可以设置这一行:
``json
“pre-release”:[“npm run-build”]
````
push new version tag to git remote server.
-`namespace`:例如,将其设置为“joway/flying example”,它将Docker图像推为“joway/flying example:v x.x.x”(如果version_prefix=“v”)。
-`dkf `路径`:dockerfile相对于项目根目录的路径。
<
-`package `路径`:package.json相对于项目根目录的路径。
-`upgrade_version_enable`:如果设置为“true”,则在exec'flying release-flying-release-upgrade`
<
/>
//
//`>
自定义拥有Build&;Upload Commond by set`build\u cmd`和`upload\u cmd`