PHPackages                             derpixler/git-tag-release-automator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. derpixler/git-tag-release-automator

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

derpixler/git-tag-release-automator
===================================

Automated Git release tagging &amp; branch creation for major/minor/patch versions.

v1.5.0(3y ago)735[3 issues](https://github.com/derpixler/git-tag-release-automator/issues)GPL-2.0Shell

Since Feb 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/derpixler/git-tag-release-automator)[ Packagist](https://packagist.org/packages/derpixler/git-tag-release-automator)[ RSS](/packages/derpixler-git-tag-release-automator/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (16)Used By (0)

[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/c80c6f577cab77018c5ba637b7709cea83cd9c1f49c7b81c100b0bb8b40cf25b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6465727069786c65722f6769742d7461672d72656c656173652d6175746f6d61746f722e7376673f6c6162656c3d6c617465737425323076657273696f6e26636f6c6f723d627269676874677265656e)](https://github.com/derpixler/git-tag-release-automator/releases) [![PowerShell](https://camo.githubusercontent.com/9c20b76a0fdb408596c339ccdd9cf5b0ff5520483187e706e7d0c66f30655143/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f7765725368656c6c2d57696e646f77732532302537432532306d61634f532532302537432532304c696e75782d626c7565)](https://github.com/powershell/powershell)[![License: GPL v3](https://camo.githubusercontent.com/48bf9b56d44f38db53ce21294cf0b9487d0a3734ab3ba1fe4c69858ae20db2c1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c76332d626c75652e737667)](https://www.gnu.org/licenses/gpl-3.0) [![Downloads](https://camo.githubusercontent.com/a6cc7c238d8eef458ebbb0104901d9a330e7ea604c5a621a7814b89144a7a30a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f776e6c6f6164732d366b2d6f72616e6765)](https://camo.githubusercontent.com/a6cc7c238d8eef458ebbb0104901d9a330e7ea604c5a621a7814b89144a7a30a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f776e6c6f6164732d366b2d6f72616e6765)

🚀 Save time with the Git-Tag-Release-Automator!
===============================================

[](#rocket-save-time-with-the-git-tag-release-automator)

If you are a friend of [git flow](https://www.atlassian.com/de/git/tutorials/comparing-workflows/gitflow-workflow) 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:

[](#install)

```
composer require derpixler/git-tag-release-automator

```

### Execute:

[](#execute)

```
./vendor/bin/git-tag-release-automator

```

### Create a new tag command in action

[](#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
-------------

[](#some-insights)

### Initial setup for new projects.

[](#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.

[](#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.

[](#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

[](#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:
----------

[](#-contact)

- Name: René Reimann
- Email:
- LinkedIn:
- GitHub:

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~19 days

Total

13

Last Release

1137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b935c2a6adb810b552592a4333b5d04795fb1beae6a7f626753ede3b008d58bb?d=identicon)[René Reimann](/maintainers/Ren%C3%A9%20Reimann)

---

Top Contributors

[![derpixler](https://avatars.githubusercontent.com/u/809219?v=4)](https://github.com/derpixler "derpixler (11 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/derpixler-git-tag-release-automator/health.svg)

```
[![Health](https://phpackages.com/badges/derpixler-git-tag-release-automator/health.svg)](https://phpackages.com/packages/derpixler-git-tag-release-automator)
```

###  Alternatives

[widop/google-analytics-bundle

Google certificate-based authentication in server-to-server interactions with google analytics

43283.2k](/packages/widop-google-analytics-bundle)[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
