polish: unreadable base version reads 'unreadable' in the release-shape warning
Part of #130. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
d0b857eb10
commit
ce24a1a3ba
1 changed files with 1 additions and 1 deletions
|
|
@ -511,7 +511,7 @@ release_shape_warning() { # $1 = PR, $2 = head version, $3 = base version
|
||||||
[ -n "$head_ver" ] || return 0
|
[ -n "$head_ver" ] || return 0
|
||||||
grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$' <<<"$head_ver" || return 0
|
grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$' <<<"$head_ver" || return 0
|
||||||
[ "$head_ver" != "$base_ver" ] || return 0
|
[ "$head_ver" != "$base_ver" ] || return 0
|
||||||
echo "::warning::labels: #$n is release-shaped (version $base_ver -> $head_ver at its head) but carries no release label — the merge door reads that label as declared intent and will refuse without it; if this is the ceremony PR, apply release (#130; the #128 incident)"
|
echo "::warning::labels: #$n is release-shaped (version ${base_ver:-unreadable} -> $head_ver at its head) but carries no release label — the merge door reads that label as declared intent and will refuse without it; if this is the ceremony PR, apply release (#130; the #128 incident)"
|
||||||
}
|
}
|
||||||
|
|
||||||
tree_version() { # $1 = ref → that tree's version via the API, or nothing
|
tree_version() { # $1 = ref → that tree's version via the API, or nothing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue