title: How to tag a git repo in a bamboo build
body: <p>I'm trying to tag the git repo of a ruby gem in a Bamboo build. I thought doing something like this in ruby would do the job </p>
  
  <pre><code>`git tag v#{current_version}`
  `git push --tags`
  </code></pre>
  
  <p>But the problem is that the repo does not have the origin. somehow Bamboo is getting rid of the <code>origin</code>
  Any clue?</p>