Skip to content

Commit

Permalink
fix(command): Fix tail order tags
Browse files Browse the repository at this point in the history
Closes #81
  • Loading branch information
rafinskipg committed Mar 4, 2020
1 parent 567232d commit 093b549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/lib/set-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function setDefaults() {
debug('setting defaults');
this.options = {};
this.cmd = {
gitTag: 'git tag | tail -n1',
gitTag: 'git tag -l --sort=v:refname | tail -n1',
gitRepoUrl: 'git config --get remote.origin.url',
gitLog: null,
gitLogNoTag: null
Expand Down

0 comments on commit 093b549

Please sign in to comment.