Skip to content

Instantly share code, notes, and snippets.

@aliou
Created August 21, 2014 11:07
Show Gist options
  • Save aliou/56d873c3f6d81631dc3f to your computer and use it in GitHub Desktop.
Save aliou/56d873c3f6d81631dc3f to your computer and use it in GitHub Desktop.
#!/bin/sh
tag=$1
date="$(git show $tag --format=%aD | head -1)"
GIT_COMMITTER_DATE="$date" git tag -a -f $tag $tag -m "node-reporter $tag"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment