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…


This content originally appeared on DEV Community and was authored by web dev media

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.

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.

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.

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.

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


This content originally appeared on DEV Community and was authored by web dev media


Print Share Comment Cite Upload Translate Updates
APA

web dev media | Sciencx (2023-04-13T07:43:49+00:00) Revolutionize Your Release Management with Git-Tag-Release-Automator!. Retrieved from https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/

MLA
" » Revolutionize Your Release Management with Git-Tag-Release-Automator!." web dev media | Sciencx - Thursday April 13, 2023, https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/
HARVARD
web dev media | Sciencx Thursday April 13, 2023 » Revolutionize Your Release Management with Git-Tag-Release-Automator!., viewed ,<https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/>
VANCOUVER
web dev media | Sciencx - » Revolutionize Your Release Management with Git-Tag-Release-Automator!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/
CHICAGO
" » Revolutionize Your Release Management with Git-Tag-Release-Automator!." web dev media | Sciencx - Accessed . https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/
IEEE
" » Revolutionize Your Release Management with Git-Tag-Release-Automator!." web dev media | Sciencx [Online]. Available: https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/. [Accessed: ]
rf:citation
» Revolutionize Your Release Management with Git-Tag-Release-Automator! | web dev media | Sciencx | https://www.scien.cx/2023/04/13/revolutionize-your-release-management-with-git-tag-release-automator/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.