Skip to content

Commit 89ee2ad

Browse files
committed
ci: docpublish: fix monitor regex
Monitor regex was not taking releases into account. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
1 parent a7abb21 commit 89ee2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docpublish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Unzip html archive
2121
working-directory: docs
2222
run: |
23-
OUTDIR=$(awk 'NR==1 { if ($3 ~ /^(latest|v([0-9a-z\.\-]+)|PR-[0-9]+)$/) print $3 }' monitor_*.txt)
23+
OUTDIR=$(awk 'NR==1 { if ($3 ~ /^(latest|PR-[0-9]+|[0-9]+\.[0-9a-z\.\-]+)$/) print $3 }' monitor_*.txt)
2424
echo "OUTDIR=$OUTDIR" >> "$GITHUB_ENV"
2525
unzip legacy-ncs*.zip -d $OUTDIR
2626

0 commit comments

Comments
 (0)