DEV Community

Cover image for Revolutionize Your Release Management with Git-Tag-Release-Automator!
web dev media
web dev media

Posted on

1

Revolutionize Your Release Management with Git-Tag-Release-Automator!

If you are a friend of git flow and use git 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?

The "git-tag-release-automator" automates exactly this process and you can concentrate on your real work.

The "git-tag-release-automator" takes care of the following steps for you:

  • the last git tag is searched for. If no version tagging is used yet, the "git-tag-release-automator" sets it up for you. You have the choice if your version starts with a "v" or e.g. v1.4.5 or without.
  • The "git-tag-release-automator" gives you the possibility to create a new release branch based on the last git tag, e.g. release/v1.4.0.

Initial setup for new projects.

❯ 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.

Enter fullscreen mode Exit fullscreen mode

Create new tag but there is no matching release branch.

❯ 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.

Enter fullscreen mode Exit fullscreen mode

Create new minor version tag.

❯ 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.

Enter fullscreen mode Exit fullscreen mode

Create new patch version tag.

❯ 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.

Enter fullscreen mode Exit fullscreen mode

By automating this process you can save time, nerves and most of all errors and ensure that you always create a consistent git-tag and correct release-branches. You will be sure that your software always has a correct version.

Once you've set up the script, you'll find that not only is it easier to create release branches, but it also leads to a more productive workflow. You can focus on the most important aspects of your project and rely on the script to do the rest.

*Download here: *git-tag-release-automator

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay