Skip to content

Commit cf1caeb

Browse files
committed
ci: match nested module tags in the release trigger
Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
1 parent 879982b commit cf1caeb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ name: Release
77
on:
88
push:
99
tags:
10+
# A bare "vX.Y.Z" releases the primary module (state). A nested
11+
# "<module>/vX.Y.Z" releases that submodule; "**" matches any path depth,
12+
# so two-segment module tags like "telemetry/otel/v0.1.0" trigger too (a
13+
# single "*" never crosses "/", so it would miss them).
1014
- "v*.*.*"
11-
- "*/v*.*.*"
15+
- "**/v*.*.*"
1216

1317
# Read-only by default; the publish job opts into contents:write explicitly.
1418
permissions:

0 commit comments

Comments
 (0)