quazardous/php-bump-version 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

quazardous/php-bump-version

Composer 安装命令:

composer require quazardous/php-bump-version

包简介

PHP Bump version and other GIT helpers

README 文档

README

(c) Quazardous berliozdavid@gmail.com

What for ?

Provides some "helper" commands for GIT users to conform with http://nvie.com/posts/a-successful-git-branching-model/.

So bump_version pays attention to GIT operations you may want to do on your master or develop branches.

It will display the GIT commands you should use to keep your branches in a correct state. In day to day use, you should just have to copy/paste these commands... It's not much but I've found it usefull and I like to share !

bump_version assume that develop and master are correctly setup with origin for git push and git pull.

Install

composer require "quazardous/php-bump-version"

Usage

bump

A basic version bumper.

After version bumping, bump_version bump will display a list of GIT commands you should use to complete your release.

vendor/bin/bump_version bump [options]

Example to bump a minor version (like 0.1.2 to 0.1.3):

vendor/bin/bump_version bump -p

More info on Semantic Versioning.

merge_into

Merge for the lazy one.

Displays the commands to merge the current branch to the target branch and checks if you may have to pull/push.

vendor/bin/bump_version merge_into <target> [options]

Example to merge current branch to develop branch:

vendor/bin/bump_version merge_into develop

merge_from

Merge for the lazy one.

Displays the commands to merge the target branch into the current branch and checks if you may have to pull/push.

vendor/bin/bump_version merge_from <target> [options]

Example to merge develop branch to current branch:

vendor/bin/bump_version merge_from develop

Config

At first use, bump_version will ask you to configure your project and will store this config in .bump-version.php.

You can edit this file, it contains some bonus options :p

统计信息

  • 总下载量: 10.98k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固