Tags

From Gcube Wiki
Revision as of 16:08, 29 May 2019 by Manuele.simi (Talk | contribs)

Jump to: navigation, search

Creating Tags

Git supports two types of tags: lightweight and annotated. In gCube we use lightweight tag to mark a specific point in the repository’s history.

The following command creates a tag on the last commit in the current branch:

$ git tag <tagname>

However, tags can be created anytime in the project's history.

Pushing Tags =

You will have to explicitly push tags to a shared server after you have created them.

$ git push origin <tagname>

Rules

  • We tag only the master branch
  • Tags are used to mark releases
  • Tags are applied after the related gCube release is declared closed
  • The tag name must be in the format "vX.Y" or "vX.Y.Z" (where X,Y,Z are follow the versioning schema major.minor[.build])

TBP

Back to the CI guide.