Skip to content

Commit

Permalink
Fix git tag retrieval for non-master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mattolson committed Jun 29, 2019
1 parent c22099e commit 322c2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/util/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
});
},
tagName: function(callback) {
childProcess.exec('git describe --tags', {}, function(err, stdout) {
childProcess.exec('git describe --tags --always', {}, function(err, stdout) {
if (err) {
throw new Error('git.tagName: ' + err.message);
}
Expand Down

0 comments on commit 322c2b3

Please sign in to comment.