derpixler/git-tag-release-automator
Composer 安装命令:
composer require derpixler/git-tag-release-automator
包简介
Automated Git release tagging & branch creation for major/minor/patch versions.
README 文档
README
🚀 Save time with the Git-Tag-Release-Automator!
If you are a friend of git flow and use tagging in your release flow, I'm sure you struggle with manually determining the latest git tag and then creating a matching release branch is a tedious task. What if there was a way to automate this process to save time, effort and errors?
This script automates:
- 🥇 Release tagging
- 🥇 Matching release branch creation for major and minor releases
- 🥇 prevent you for create tags with no relevant changes
The shell script:
- 🎂 Provieds an init action,
- 🎊 Fetch the latest Git tag,
- 🚑 Prompts the user to increase the major, minor, or patch version,
- 📽️ Fetch the last tag depending on the user's choice,
- 👾 Check if there a exiting release branch like "release/v1.1.0" based on the new tag,
- 🥇 Validate changes in the release branch, before a new tag will pushed,
Install:
composer require derpixler/git-tag-release-automator
Execute:
./vendor/bin/git-tag-release-automator
Create a new tag command in action
❯ ./vendor/bin/git-tag-release-automator
Latest tag: v1.1.0
Which part of the version do you want to increase: Major (M), Minor (m) or Patch (p)? (M.m.p)
Your choice: p
Switched to existing release branch release/v1.1.0
Git tag v1.1.1 created and pushed successfully.
Some Insights
Initial setup for new projects.
❯ ./vendor/bin/git-tag-release-automator
There are no existing tags. Do you want to create a tag starting with 'v'? (y/n)
Your choice: y
No "release/v1.0.0" found, create one? (y/n)
Your choice: y
Release branch "release/v1.0.0" created.
Now you can merge into "release/v1.0.0" and create tags.
Create new tag but there is no matching release branch.
❯ ./vendor/bin/git-tag-release-automator
Latest tag: v1.4.1
Which part of the version do you want to increase: Major (M), minor (m) or patch (p)?
Your choice: m
No "release/v1.5.0" found, create one? (y/n)
Your choice: y
Release branch "release/v1.5.0" created.
Now you can merge into "release/v1.5.0" and create tags.
Create new minor version tag.
❯ ./vendor/bin/git-tag-release-automator
Latest tag: v1.4.1
Which part of the version do you want to increase: Major (M), minor (m) or patch (p)?
Your choice: m
Git tag v1.5.0 created and pushed successfully.
Create new patch version tag
❯ ./vendor/bin/git-tag-release-automator
Latest tag: v1.5.0
Which part of the version do you want to increase: Major (M), minor (m) or patch (p)?
Your choice: p
Git tag v1.5.1 created and pushed successfully.
🤙 Contact:
- Name: René Reimann
- Email: info@rene-reimann.de
- LinkedIn: https://www.linkedin.com/in/rene-reimann-18b50a127
- GitHub: https://github.com/derpixler
derpixler/git-tag-release-automator 适用场景与选型建议
derpixler/git-tag-release-automator 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 35 次下载、GitHub Stars 达 7, 最近一次更新时间为 2023 年 02 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 derpixler/git-tag-release-automator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 derpixler/git-tag-release-automator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2023-02-27