Fix badge showing incorrect latest release version

Display the correct latest release version by modifying the image url
query string to specify semantic version sorting. Without this sorting,
releasing 8.9.2, 9.0.0, 9.1.0, and then 8.9.3 would cause version 8.9.3
to incorrectly appear as the current latest release.
This commit is contained in:
Zach Borboa
2021-06-23 10:12:49 -04:00
parent 32c6eac722
commit 4a271bd34c
+1 -1
View File
@@ -180,7 +180,7 @@ p:last-child {
<a href="https://github.com/php-curl-class/php-curl-class/releases/">
<img
alt=""
src="https://img.shields.io/github/release/php-curl-class/php-curl-class.svg?style=flat-square" />
src="https://img.shields.io/github/release/php-curl-class/php-curl-class.svg?style=flat-square&sort=semver" />
</a>
<a href="https://github.com/php-curl-class/php-curl-class/blob/master/LICENSE">
<img