Permalink
Browse files

getChanges: exclude the current tag

  • Loading branch information...
1 parent 308d3d0 commit 00cdb46ee65db5f48fb1666c5678c72b9eb7a6e5 @erikdesjardins erikdesjardins committed Dec 5, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/getChanges.js
View
@@ -11,7 +11,7 @@ const lastStableTag = execSync('git tag -l', { encoding: 'utf8' })
.trim()
.split(/[\r\n]+/)
.map(s => s.trim())
- .filter(s => semver.valid(s))
+ .filter(s => semver.valid(s) && s !== currentTag)
.reverse()
.find(v => !isBetaVersion(v));

0 comments on commit 00cdb46

Please sign in to comment.