Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Jenkinson committed Jun 27, 2018
1 parent 84f88a3 commit 36ffc1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/set-package-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ try {
}
process.exit(0);


function getCommitNum() {
return parseInt(require('child_process').execSync('git rev-list --count HEAD').toString(), 10);
}

function getLatestVersionTag() {
return require('child_process').execSync('git describe --match="v*"').toString();
return require('child_process').execSync('git describe --match="v*"').toString();
}

0 comments on commit 36ffc1d

Please sign in to comment.