Skip to content

Support storing variable via yaml file #366

@marcinkuzminski

Description

@marcinkuzminski

Description

Here's our use case, we keep certain versions inside the source code of bashly generated script. This is mostly used when we do a self-update call that does downloads new script, and does comparison on internal changes and components our script is installing.

Similar how version works and it's available globally in the script.

Our workaround is to keep thi in the initialize.sh, but it would be nicer if we bump version and all internal versions of components from yaml file.

my idea was a new section called variables that would keep them in it's own namespace so it doesn't get mixed with any other script defined vars.

variables:
 - foo: bar

What do you think about such feature ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions