Allow [GitHub] tag badge to sort by date (#2157)
* add test for tag-pre * support /releases-pre (but also allow /all for BC) * allow GH tags to be sorted by date instead of semver * fix license badge
This commit is contained in:
@@ -1242,10 +1242,20 @@ const allBadgeExamples = [
|
||||
previewUrl: '/hexpm/v/plug.svg',
|
||||
},
|
||||
{
|
||||
title: 'GitHub tag',
|
||||
title: 'GitHub tag (latest SemVer)',
|
||||
previewUrl: '/github/tag/expressjs/express.svg',
|
||||
documentation: githubDoc,
|
||||
},
|
||||
{
|
||||
title: 'GitHub tag (latest SemVer pre-release)',
|
||||
previewUrl: '/github/tag-pre/expressjs/express.svg',
|
||||
documentation: githubDoc,
|
||||
},
|
||||
{
|
||||
title: 'GitHub tag (latest by date)',
|
||||
previewUrl: '/github/tag-date/expressjs/express.svg',
|
||||
documentation: githubDoc,
|
||||
},
|
||||
{
|
||||
title: 'GitHub package version',
|
||||
previewUrl: '/github/package-json/v/badges/shields.svg',
|
||||
@@ -1263,7 +1273,7 @@ const allBadgeExamples = [
|
||||
},
|
||||
{
|
||||
title: 'GitHub (pre-)release',
|
||||
previewUrl: '/github/release/qubyte/rubidium/all.svg',
|
||||
previewUrl: '/github/release-pre/qubyte/rubidium.svg',
|
||||
documentation: githubDoc,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user