From 86d8a44aa7f1ceca69dca6333d5788c377e7611f Mon Sep 17 00:00:00 2001 From: cinco euzebio Date: Sun, 1 Mar 2026 00:58:53 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20ci:=20update=20release=20trigger?= =?UTF-8?q?=20to=20match=20tags=20without=20v=20prefix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index be0ae1a..3caf1b4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,7 +53,7 @@ trigger: event: - tag ref: - - refs/tags/v* + - refs/tags/[0-9]* steps: - name: build-x86_64 @@ -79,7 +79,7 @@ steps: # Read DRONE_TAG via ENVIRON inside awk to avoid Drone's ${VAR} substitution # which would replace ${TAG} with an empty string before the shell runs. BODY=$(awk ' - BEGIN { tag = ENVIRON["DRONE_TAG"]; gsub(/^v/, "", tag) } + BEGIN { tag = ENVIRON["DRONE_TAG"] } /^## \[/ { in_section = (index($0, "[" tag "]") > 0); next } in_section && /^## \[/ { exit } in_section { print }