Skip to content

[pull] main from github:main#58

Merged
pull[bot] merged 3 commits intoM19913:mainfrom
github:main
Mar 27, 2026
Merged

[pull] main from github:main#58
pull[bot] merged 3 commits intoM19913:mainfrom
github:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 27, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

github-actions bot and others added 3 commits March 26, 2026 22:19
Tags are sorted lexicographically by default, not by version,
so for example right now `git ls-remote` for this repo shows:

```
$ git ls-remote --tags \
  https://github.com/github/copilot-cli \
  | tail -3 | awk -F/ '{print$NF}'
v1.0.8
v1.0.8-0
v1.0.9
```

With the sort option, it shows the correct latest prerelease tags:

```
$ git ls-remote --tags --sort "version:refname" \
  https://github.com/github/copilot-cli \
  | tail -3 | awk -F/ '{print$NF}'
v1.0.12-0
v1.0.12-1
v1.0.12-2
```

This option for git ls-remote was added in git version 2.18.0 in June 2018:
https://github.com/git/git/blob/v2.18.0/Documentation/RelNotes/2.18.0.txt#L69-L70
Sort git tags when determining prerelease version
@pull pull bot locked and limited conversation to collaborators Mar 27, 2026
@pull pull bot added the ⤵️ pull label Mar 27, 2026
@pull pull bot merged commit b175fd8 into M19913:main Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants