定制 subitolabs/bump-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

subitolabs/bump-bundle

Composer 安装命令:

composer require subitolabs/bump-bundle

包简介

manage project version, changelog and deploy tag in a git project.

README 文档

README

Symfony bundle to deal with project (git) versioning and changelog. Respect semantic versioning.

Installation

Require subitolabs/bump-bundle to your composer.json file:

{
    "require": {
        "subitolabs/bump-bundle": "~1.0"
    }
}

Register the bundle in app/AppKernel.php:

// app/AppKernel.php
public function registerBundles()
{
    $bundles[] = new Subitolabs\Bundle\BumpBundle\SubitolabsBumpBundle();
}

Console Command

bump

Usage:
  subitolabs:bump [options] [--] <env> [<position>]

Arguments:
  env                          Environment
  position                     Position to increment: 0=nothing(default), 1=MAJOR, 2=MINOR, 3=PATCH [default: 0]

Options:
      --dry-run                Set to not alter data and git something
      --message[=MESSAGE]      Tag message [default: "Bump to {{tag}} with Subitolabs bump bundle"]
      --tag[=TAG]              How tag is made [default: "{{env}}-{{version}}"]
      --file[=FILE]            File to write version info (JSON encoded) [default: "./app/config/version.yml"]
      --changelog[=CHANGELOG]  CHANGELOG.md path [default: "./CHANGELOG.md"]
  -h, --help                   Display this help message
  -q, --quiet                  Do not output any message
  -V, --version                Display this application version
      --ansi                   Force ANSI output
      --no-ansi                Disable ANSI output
  -n, --no-interaction         Do not ask any interactive question
  -e, --env=ENV                The environment name [default: "dev"]
      --no-debug               Switches off debug mode
  -v|vv|vvv, --verbose         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Bump version according semantic versioning (http://semver.org/) - create git tag.

changelog

Usage:
  subitolabs:changelog [options]

Options:
      --changelog[=CHANGELOG]  CHANGELOG.md path [default: "./CHANGELOG.md"]
  -h, --help                   Display this help message
  -q, --quiet                  Do not output any message
  -V, --version                Display this application version
      --ansi                   Force ANSI output
      --no-ansi                Disable ANSI output
  -n, --no-interaction         Do not ask any interactive question
  -e, --env=ENV                The environment name [default: "dev"]
      --no-debug               Switches off debug mode
  -v|vv|vvv, --verbose         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Write full changelog based on git tags and git logs.

Configuration

Nothing to configure.

统计信息

  • 总下载量: 47
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固