mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-29 19:54:49 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user