Skip to content

piping to software versions create doesn't accept a version via a template #378

@reubenmiller

Description

@reubenmiller

The following one-liner to create software repositories versions doesn't work well in a pipeline as the version is not accepted.

c8y devices get --id device0001 \
    | jq -r '.c8y_SoftwareList[] | select(.type = "apt")' -c \
    | c8y software versions create --template "{c8y_Software:{version: input.value.version}}" --dry

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions