From 59df4f6b2ad4a29c933be70f25ff77e39d81e0af Mon Sep 17 00:00:00 2001 From: "Daniel A. A. Pelsmaeker" Date: Tue, 23 Jul 2024 14:56:57 +0200 Subject: [PATCH] Fix badges in readme --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b20f94a..3169f68 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,13 @@ # Metaborg Common -[![Build][github-build-badge]][github-build] +[![Build][github-badge:build]][github:build] [![License][license-badge]][license] -[![GitHub Release][github-release-badge]][github-release] +[![GitHub Release][github-badge:release]][github:release] Common and utility classes for Metaborg projects. -| Artifact | Latest Release | -|------------------------------------|------------------------------------------------| -| `org.metaborg:common` | [![org.metaborg:common][maven-badge]][maven] | - +| Artifact | Latest Release | Latest Snapshot | +|------------------------|--------------------------------------------------|---------------------------------------------------| +| `org.metaborg:common` | [![Release][mvn-rel-badge:common]][mvn:common] | [![Snapshot][mvn-snap-badge:common]][mvn:common] | ## License @@ -18,12 +17,13 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an **"as is" basis, without warranties or conditions of any kind**, either express or implied. See the License for the specific language governing permissions and limitations under the License. -[github-build-badge]: https://img.shields.io/github/actions/workflow/status/metaborg/common/build.yaml -[github-build]: https://github.com/metaborg/common/actions +[github-badge:build]: https://img.shields.io/github/actions/workflow/status/metaborg/common/build.yaml +[github:build]: https://github.com/metaborg/common/actions [license-badge]: https://img.shields.io/github/license/metaborg/common [license]: https://github.com/metaborg/common/blob/master/LICENSE -[github-release-badge]: https://img.shields.io/github/v/release/metaborg/common -[github-release]: https://github.com/metaborg/common/releases +[github-badge:release]: https://img.shields.io/github/v/release/metaborg/common +[github:release]: https://github.com/metaborg/common/releases -[maven-badge]: https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fartifacts.metaborg.org%2Fcontent%2Frepositories%2Freleases%2Forg%2Fmetaborg%2Fcommon%2Fmaven-metadata.xml -[maven]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~common~~~ +[mvn-rel-badge:common]: https://img.shields.io/nexus/r/org.metaborg/common?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn-snap-badge:common]: https://img.shields.io/nexus/s/org.metaborg/common?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 +[mvn:common]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~common~~~