Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step ignored when same steps are defined in the same version #45

Open
grindtildeath opened this issue Nov 22, 2018 · 0 comments
Open

Step ignored when same steps are defined in the same version #45

grindtildeath opened this issue Nov 22, 2018 · 0 comments

Comments

@grindtildeath
Copy link
Member

Context :
When there are multiple same steps defined for the same version, the first one is ignored.

Example :

version v.w.x.y.z:
operations:
  pre:
    - anthem songs.script_pre::main
addons:
  update:
    - my_beautiful_module
operations:
  post:
    - anthem songs.script_post::main

With such a migration step, running version v.w.x.y.z will only execute anthem songs.script_post::main as post and won't execute anthem songs.script_pre::main ! ⚠️

IMO in such cases marabunta must raise an error instead of ignoring a script, leaving the user wondering why his script was not executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant