Skip to content

Generator: hyphenated build/deploy names produce a mismatched skip-condition (always-false if:) #127

@joshua-temple

Description

@joshua-temple

When a build or deploy name contains a hyphen (e.g. shared-lib), the generator emits the change-detection if: referencing a sanitized variable (run_build_shared_lib, hyphen to underscore) but writes the corresponding output key with the raw name (run_build_shared-lib). The names never match, so the condition is always false and the build/deploy is silently skipped. Found while scaffolding cascade-example-primary (worked around by renaming to sharedlib). Fix: sanitize the output key and the if: reference consistently (both should use the same normalized identifier). Add a generator test with a hyphenated name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions