From 897d69ad4676f7eb3a5cb9c279cf57d7fbce0877 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 30 Nov 2023 00:31:24 +0100 Subject: [PATCH] no message --- .github/scripts/cleanup.yaml => tools/cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/scripts/cleanup.yaml => tools/cleanup.sh (99%) diff --git a/.github/scripts/cleanup.yaml b/tools/cleanup.sh similarity index 99% rename from .github/scripts/cleanup.yaml rename to tools/cleanup.sh index cb2ebecccc3..e61ed85c050 100644 --- a/.github/scripts/cleanup.yaml +++ b/tools/cleanup.sh @@ -1,5 +1,5 @@ tag=$1 - + tag=$(echo $tag | sed "s/@.*//g") # Strip everything after '@' (e.g., "v1.2.3@sha256:abc123" -> "v1.2.3") # Remove 'version-' prefix if it exists (e.g., "version-a78f38c1" -> "a78f38c1")