Skip to content

Commit

Permalink
Support new release of old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Dec 16, 2021
1 parent 42f69b1 commit 34df32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/update-comment.js
Expand Up @@ -22,7 +22,7 @@ repo.git('status --porcelain -uno contracts/**/*.sol', (error, status) => {

const [ tag ] = tags
.map(({ name }) => name)
.filter(semver.valid)
.filter(v => semver.valid(v) && semver.lte(v, version))
.sort(semver.rcompare);

repo.diff('master', tag, (error, diffs) => {
Expand Down

0 comments on commit 34df32d

Please sign in to comment.