Skip to content

Commit 11f39f6

Browse files
committed
[ruff] Fix last_tag/commits_since_last_tag for version command
Since Ruff changed to GitHub releases, tags are no longer annotated and `git describe` no longer picks them up.
1 parent dd2313a commit 11f39f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn commit_info(workspace_root: &Path) {
4949
.arg("-1")
5050
.arg("--date=short")
5151
.arg("--abbrev=9")
52-
.arg("--format=%H %h %cd %(describe)")
52+
.arg("--format=%H %h %cd %(describe:tags)")
5353
.output()
5454
{
5555
Ok(output) if output.status.success() => output,

0 commit comments

Comments
 (0)