Skip to content

Enforce semver format for version #688

@JBBianchi

Description

@JBBianchi

What would you like to be added:
The version of a workflow definition can be any string. Enforcing semver should be considerated.

Why is this needed:
In my understanding, the version is used to distinguish different iterations of a said workflow. For instance, a user creates a workflow named Beautiful Workflow. After some time, something needs to be changed for whatever reason. The user updates the Beautiful Workflow. There are two versions of the same workflow living side by side, for instance 1.0.0 and 1.1.0.
Currently, a version could be anything, a user could deploy workflows such as { "name": "pokemon", "version": "red" } and { "name": "pokemon", "version": "blue" }. I'm not sure that it's an intended use of this field.

WDYT ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    change: featureNew feature or request. Impacts in a minor version change

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions