From 08475d97f9ad225cb843108b029fa1b3b6bf77a7 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Thu, 6 Apr 2023 21:20:21 -0700 Subject: [PATCH] Fix release badge at the top of README file (#4818) It is now possible to display the latest release by semver, instead of the latest release by date. When displaying by date, the README may show an older Antrea version, for which a patch release was recently published. Instead, we prefer to display the most recent patch release for the most recent minor release, which is what most new users will need / want to deploy. Signed-off-by: Antonin Bas --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45b00e35bdc..52a600ed38c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Go Report Card](https://goreportcard.com/badge/antrea.io/antrea)](https://goreportcard.com/report/antrea.io/antrea) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4173/badge)](https://bestpractices.coreinfrastructure.org/projects/4173) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -![GitHub release](https://img.shields.io/github/release/antrea-io/antrea.svg?include_prereleases) +![GitHub release](https://img.shields.io/github/v/release/antrea-io/antrea?display_name=tag&sort=semver) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fantrea-io%2Fantrea.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fantrea-io%2Fantrea?ref=badge_shield) ## Overview