kduma/git-flow-tool 问题修复 & 功能扩展

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

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

kduma/git-flow-tool

最新稳定版本:v0.0.5

Composer 安装命令:

composer create-project kduma/git-flow-tool

包简介

GIT Flow tools for Laravel

README 文档

README

Useful helper for using gitflow-like branching model in a project. It is a simple shell script that helps you to create, finish and publish branches in a git repository. It supports automatically bumping version tag and pushing from and to correct branches.

Check full documentation here: opensource.duma.sh/apps/git-flow

Installation

in your project install the tool by running:

composer require kduma/git-flow-tool

and then use it by running:

vendor/bin/git-flow-tool

Configuration

In root directory of your project create .git-flow-tool.json file with following content:

{
    "versionProvider": "php-array?filename=config/app.php&key=version",
    "gitFlow": "branch[develop]=develop&branch[master]=main&prefix[feature]=feature/&prefix[release]=release/&prefix[hotfix]=hotfix/&prefix[support]=support/&prefix[versionTag]=v&suffix[versionTag]=-src",
    "git": "author[name]=BOT&author[email]=bot@localhost"
}

Update it to match your project configuration.

Usage

vendor/bin/git-flow-tool release

or

vendor/bin/git-flow-tool hotfix

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-12