We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is my preupdate script scripts/foo.sh :
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 :
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.
echo "Hello from foo"
foo
Shouldn't I see my script output ? Or what am I doing wrong ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is my preupdate script
scripts/foo.sh
:Here is my .mversionrc :
Then
mversion patch
:No output from my script (
echo "Hello from foo"
). However, thefoo
file got created, meaning my script did execute.Shouldn't I see my script output ? Or what am I doing wrong ?
The text was updated successfully, but these errors were encountered: