This repository contains a GitHub Action which will tag the repository whenever there is a push on the main branch. Normally developers tend to forget tagging the repository whenever some new stable code is merged on the main branch and eventually deployed on production. This workflow aims to automate the tagging process whenever there is a new deployment on main branch.
Some background on Git tag and GitHub actions
Git Tag
Tags are like way to create a snapshot of Git repo. Git tags are reference that point to specific points in the Git history. A tag is a branch which never change. Tags are generally marked as semantic versioning (v1.2.3) .
Creating a tag:
git tag <tag_name>
Publishing a tag:
git push origin <tag_name>
GitHub Actions
GitHub Actions is a platform that helps to automate the processes in software build, test, and…