Skip to content

Commit

Permalink
Merge pull request #3 from marcoceppi/tag-ref
Browse files Browse the repository at this point in the history
Force just the tag name and not the extra items
  • Loading branch information
tblobaum committed Jan 29, 2013
2 parents a018b7c + 56e4ae7 commit e62005a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -17,7 +17,7 @@ module.exports = {
_command('git rev-parse --abbrev-ref HEAD', cb)
}
, tag : function (cb) {
_command('git describe --always --tag', cb)
_command('git describe --always --tag --abbrev=0', cb)
}
, log : function (cb) {
_command('git log --no-color --pretty=format:\'[ "%H", "%s", "%cr", "%an" ],\' --abbrev-commit', function (str) {
Expand Down

0 comments on commit e62005a

Please sign in to comment.