Documentation
¶
Overview ¶
Package releaseguard guards design.md D6's release-automation decision. See tags_test.go's package doc comment for the full rationale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractShapeRegex ¶
ExtractShapeRegex reads the workflow YAML at filePath and returns the literal regex assigned to SHAPE_REGEX in its shape-validation step.
func GlobMatches ¶
GlobMatches reports whether tag matches the GitHub Actions tag glob pattern glob. GitHub Actions tag/branch filters use the same non-`/`-crossing `*` semantics as a shell filename glob (design.md D6: "Actions globs do not cross `/`"), which path.Match already implements. A malformed glob never matches anything, rather than erroring the guard.
func PushTagGlobs ¶
PushTagGlobs reads the workflow YAML at filePath and returns its `on.push.tags` glob list, in file order.
func UnfilteredDescribeCalls ¶
UnfilteredDescribeCalls reads the workflow YAML at path and returns every `git describe --tags` invocation that lacks a `--match` flag -- design.md D6's blast-radius finding: without one, the first reachable providers/go/vX.Y.Z tag becomes LATEST_TAG and corrupts the root release line's derived version.
Types ¶
This section is empty.