TFS Build: Create git-tag during build

I am trying tag sources during a build with the build number. To create the tag via command-line is not rocket science, but that prompts me for my login details.

How would I be able to modify my build process to create a git tag just after it got the source from git.

  • Git receive/update hooks and new branches
  • Cordova CLI, using Git, and saving plugins/platforms
  • git.cmd vs git.exe - what is the difference and which one should be used?
  • “SSL host could not be verified” error
  • /usr/local/bin/git-credential-osxkeychain: Syntax error: “(” unexpected
  • How to git-cherry-pick only changes to certain files?
  • Thanks,

  • Using GIT with projects that have directories in multiple locations
  • How to run cloned Django project?
  • different push/pull urls for git submodule
  • How can I tell what happened in a Git commit with two parents that did not merge in the changes from the second parent?
  • Get all revisions of a file in git
  • git push origin gives remote part of refspec is not a valid name
  • Git Baby is a git and github fan, let's start git clone.