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

Run post-install-cmd without causing a loop #119

Open
TKlement opened this issue Feb 17, 2017 · 0 comments
Open

Run post-install-cmd without causing a loop #119

TKlement opened this issue Feb 17, 2017 · 0 comments

Comments

@TKlement
Copy link

I need to run the --redeploy argument after every update / install but at the moment I created a loop.
Because I have one Shell-Script and that script includes this line

composer.phar run-script post-install-cmd -vvv -- --redeploy
... some other commands

Is there a way to run the --redeploy as argument with the post-install-cmd hook?

For example:

{
  "scripts": {
    "post-install-cmd": ["some-script.sh", "run-script -- --redeploy"]
  }
}
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