Skip to content

Commit

Permalink
Transpile a43069e
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 12, 2023
1 parent 53f4295 commit 9a630c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/update-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { version } = require('../../package.json');
const [tag] = run('git', 'tag')
.split(/\r?\n/)
.filter(semver.coerce) // check version can be processed
.filter(v => semver.lt(semver.coerce(v), version)) // only consider older tags, ignore current prereleases
.filter(v => semver.satisfies(v, `< ${version}`)) // ignores prereleases unless currently a prerelease
.sort(semver.rcompare);

// Ordering tag → HEAD is important here.
Expand Down

0 comments on commit 9a630c3

Please sign in to comment.