From 2817d78baf8327e0f16ab933276db8fe136befff Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Mon, 5 Feb 2024 16:47:11 -0500 Subject: [PATCH] Add example in hack/next-version.sh Co-authored-by: Simon Baird --- hack/next-version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/next-version.sh b/hack/next-version.sh index f1a0a15..92f10e7 100755 --- a/hack/next-version.sh +++ b/hack/next-version.sh @@ -25,6 +25,7 @@ function debug() { >&2 echo "DEBUG: ${1}" } +# E.g. api/v0.1.33 latest_version="$(git tag | sort -V -r | head -n 1)" debug "Latest version: ${latest_version}"