mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-27 06:54:32 +00:00
[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.
This commit is contained in:
parent
dd2313ab0f
commit
11f39f6166
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fn commit_info(workspace_root: &Path) {
|
||||||
.arg("-1")
|
.arg("-1")
|
||||||
.arg("--date=short")
|
.arg("--date=short")
|
||||||
.arg("--abbrev=9")
|
.arg("--abbrev=9")
|
||||||
.arg("--format=%H %h %cd %(describe)")
|
.arg("--format=%H %h %cd %(describe:tags)")
|
||||||
.output()
|
.output()
|
||||||
{
|
{
|
||||||
Ok(output) if output.status.success() => output,
|
Ok(output) if output.status.success() => output,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue