Skip to content

Create and push tags on Git

Why

With terraform modules we often pin them to specific versions, and the same thing can be done with releases.

How

Checkout the branch you want

In this case, we will be using main

git checkout main
git pull

Create the tag

This creates the tag 4.0.0 using the branch main

git tag 4.0.0 main

Push the tag

git push origin 4.0.0

Want to make this site better? Open a PR or help fund hosting costs