Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release-v4.9 branch #4274

Merged
merged 14 commits into from
May 24, 2023
Merged
Prev Previous commit
Next Next commit
Reduce frequency of version comment updates (#4244)
(cherry picked from commit 1642b66)
  • Loading branch information
frangio committed May 12, 2023
commit a43069e841c4a650448ef999d8842ceecf274f71
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