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

no output from preupdate script #34

Open
Offirmo opened this issue Sep 11, 2015 · 0 comments
Open

no output from preupdate script #34

Offirmo opened this issue Sep 11, 2015 · 0 comments

Comments

@Offirmo
Copy link

Offirmo commented Sep 11, 2015

Here is my preupdate script scripts/foo.sh :

#!/usr/bin/env bash
echo "Hello from foo"
touch foo
exit 1

Here is my .mversionrc :

{
    "scripts": {
        "preupdate": "./scripts/foo.sh",
    }
}

Then mversion patch :

Error running preupdate: Command failed: ./scripts/foo.sh
Stopping execution

No output from my script (echo "Hello from foo"). However, the foo file got created, meaning my script did execute.

Shouldn't I see my script output ? Or what am I doing wrong ?

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