From bafbfb983ed61edf0b49be75c12a494de710dcd6 Mon Sep 17 00:00:00 2001 From: "Daniel A. A. Pelsmaeker" Date: Tue, 16 Jul 2024 16:58:32 +0200 Subject: [PATCH] Improve badges in readme --- README.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c70caec..eb5f165 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Gitonium -[![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] [![Documentation][documentation-badge]][documentation] Gitonium is a Gradle plugin for automatic versioning based on the current Git branch and/or tag. @@ -12,10 +12,6 @@ Gitonium is a Gradle plugin for automatic versioning based on the current Git br |---------------------------------------------------------------------|--------------------------------------------------|----------------------------------------------------| | [`org.metaborg.gitonium`][mvn:gitonium.gradle.plugin] | ![Release][mvn-rel-badge:gitonium.gradle.plugin] | ![Snapshot][mvn-snap-badge:gitonium.gradle.plugin] | -| Artifact | Latest Release | Latest Snapshot | -|------------------------------------------------------|--------------------------------------------------|----------------------------------------------------| -| [`org.metaborg:gitonium`][mvn:gitonium] | ![Release][mvn-rel-badge:gitonium] | ![Snapshot][mvn-snap-badge:gitonium] | - ## Requirements Gradle 7 or higher is required. The code snippets in this README assume you are using Gradle with Kotlin, but should be translatable to Groovy as well. @@ -75,21 +71,16 @@ 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/gitonium/build.yaml -[github-build]: https://github.com/metaborg/gitonium/actions +[github-badge:build]: https://img.shields.io/github/actions/workflow/status/metaborg/gitonium/build.yaml +[github:build]: https://github.com/metaborg/gitonium/actions [license-badge]: https://img.shields.io/github/license/metaborg/gitonium [license]: https://github.com/metaborg/gitonium/blob/master/LICENSE -[github-release-badge]: https://img.shields.io/github/v/release/metaborg/gitonium?display_name=release -[github-release]: https://github.com/metaborg/gitonium/releases +[github-badge:release]: https://img.shields.io/github/v/release/metaborg/gitonium?display_name=release +[github:release]: https://github.com/metaborg/gitonium/releases [documentation-badge]: https://img.shields.io/badge/docs-latest-brightgreen [documentation]: https://spoofax.dev/gitonium/ [documentation-button]: https://img.shields.io/badge/Documentation-blue?style=for-the-badge&logo=googledocs&logoColor=white [mvn-rel-badge:gitonium.gradle.plugin]: https://img.shields.io/nexus/r/org.metaborg.gitonium/org.metaborg.gitonium.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-rel-badge:gitonium]: https://img.shields.io/nexus/r/org.metaborg/gitonium?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 - [mvn-snap-badge:gitonium.gradle.plugin]: https://img.shields.io/nexus/s/org.metaborg.gitonium/org.metaborg.gitonium.gradle.plugin?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 -[mvn-snap-badge:gitonium]: https://img.shields.io/nexus/s/org.metaborg/gitonium?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20 - [mvn:gitonium.gradle.plugin]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.gitonium~org.metaborg.gitonium.gradle.plugin~~~ -[mvn:gitonium]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg~gitonium~~~