gitbashhudson

Automatic tagging of releases


How do you tag your release versions in git?

Now I have each release identified by build number, but they increment even if there are no changes in the repo. My idea is to have it generated automatically on successful deployment on staging server. E.g.

This would require:

Any tips?


Solution

  • What you are talking about is more akin to a technical revision number like the one a git describe would generate.

    That is different from a true application version, which you should still manage independently from Hudson since it depends on a versioning policy.