Skip to content

Commit b7a903a

Browse files
gmarullcarlescufi
authored andcommitted
ci: docpublish: fix monitor regex
Monitor regex was not taking releases into account. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent ba929f9 commit b7a903a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docpublish.yml

Lines changed: 1 addition & 1 deletion
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)