From 40b037abb8a11670858c572cc2cc2e3c71aae3db Mon Sep 17 00:00:00 2001 From: Copilot <223556219+Copilot@users.noreply.github.com> Date: Wed, 1 Jul 2026 18:02:30 +0200 Subject: [PATCH] docs: add dynamic latest-release version badge to README Adds a shields.io badge that queries the GitHub Releases API live, so the README always shows the current latest release with zero maintenance. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2422e3a..78fa8f8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # hook-gitplugin +[![Latest Release](https://img.shields.io/github/v/release/SemRels/hook-gitplugin?label=version\&color=blue)](https://github.com/SemRels/hook-gitplugin/releases/latest) + Pushes release tags and related git updates to another repository. This plugin is distributed as the standalone Go binary `semrel-plugin-hook-gitplugin`. Semrel executes the binary as a subprocess, provides plugin configuration through `SEMREL_PLUGIN_*` environment variables, provides release context through `SEMREL_*` environment variables, reads standard output, and treats exit code `0` as success and any non-zero exit code as failure. Install the binary in `~/.semrel/plugins/` or anywhere on your `$PATH`.