Class Buildr::GitRelease
In: lib/buildr/core/build.rb  (CVS)
Parent: Release

Methods

Public Class methods

Public Instance methods

Fails if one of theses 2 conditions are not met:

   1. the repository is clean: no content staged or unstaged
   2. some remote repositories are defined but the current branch does not track any

Add a tag reference in .git/refs/tags and push it to the remote if any. If a tag with the same name already exists it will get deleted (in both local and remote repositories).

[Validate]