Skip to content

Commit

Permalink
Improve badges in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 16, 2024
1 parent 180967a commit bafbfb9
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.

Expand Down Expand Up @@ -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~~~

0 comments on commit bafbfb9

Please sign in to comment.