From b92dc6a533625fa1441d382ba1164db371d54eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 6 Mar 2023 11:11:44 +0200 Subject: [PATCH] release: sort the RC versions correctly --- release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release b/release index 81e1e05..faaf8d2 100755 --- a/release +++ b/release @@ -19,7 +19,7 @@ git status --porcelain | grep -q "" && git tag | grep -q "^$1$" && _err "tag $1 already exists" -last_tag=$(git tag | tail -1) +last_tag=$(git -c 'versionsort.suffix=-' tag -l --sort=v:refname | tail -1) { echo bazel-zig-cc "$1"