arnklint Challenges, overcomings, thoughts and inspiration.

Tagging version in Git

As the work with the Node.js wrapper for our public API at RevRise has got on, I just realized that tagging versions in git is super important in the aspect of package managers.

How to tag versions in Git

This is my first public node package, that is already used by a number of clients and therefore it is extra important to keep it versioned.

Let´s get going:

$ git tag -a v0.0.3 -m "Bumping version"

View tags by:

$ git describe --tags

And show the actual commit by:

$ git show v0.0.3

To finilize:

$ git push --tags

Voila!