From 48dc454e105b6bfe8b183f1ce459fe2c9dd93c48 Mon Sep 17 00:00:00 2001 From: "Claus Schneider(Eficode)" Date: Wed, 8 Nov 2023 12:49:54 +0100 Subject: [PATCH] EXP: add find-latest with regex command - fix --- git-artifact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-artifact b/git-artifact index 22589c4..636f31e 100755 --- a/git-artifact +++ b/git-artifact @@ -301,7 +301,7 @@ cmd_find-latest() { cmd_fetch-co-latest() { latest_tag="" find-latest latest_tag - git fetch origin +$latest_tag:$latest_tag + git fetch origin +refs/tags/$latest_tag:refs/tags/$latest_tag git checkout $latest_tag }