From 89ee2ad28a87931c2e9de148dfb50e0a5b899b99 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 18 Dec 2024 16:51:49 +0100 Subject: [PATCH] ci: docpublish: fix monitor regex Monitor regex was not taking releases into account. Signed-off-by: Gerard Marull-Paretas --- .github/workflows/docpublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docpublish.yml b/.github/workflows/docpublish.yml index 868f5fc4ed49..2962ac6f3155 100644 --- a/.github/workflows/docpublish.yml +++ b/.github/workflows/docpublish.yml @@ -20,7 +20,7 @@ jobs: - name: Unzip html archive working-directory: docs run: | - OUTDIR=$(awk 'NR==1 { if ($3 ~ /^(latest|v([0-9a-z\.\-]+)|PR-[0-9]+)$/) print $3 }' monitor_*.txt) + OUTDIR=$(awk 'NR==1 { if ($3 ~ /^(latest|PR-[0-9]+|[0-9]+\.[0-9a-z\.\-]+)$/) print $3 }' monitor_*.txt) echo "OUTDIR=$OUTDIR" >> "$GITHUB_ENV" unzip legacy-ncs*.zip -d $OUTDIR