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
configure verbosity in config file #670
Comments
Did you try to add |
Yes I also tried: {
"verbose": true,
"hooks": {
"before:init": "echo 'Deploying XXX'",
"after:bump": "git push origin master --follow-tags",
"after:release": [
"ssh -t -t user@dev 'sudo ./pack.sh v${version}'",
"ssh -t -t user@prod 'sudo ./unpack.sh v${version} && . post-deploy.sh ${version}'",
"echo Successfully released ${name} v${version} to ${repo.repository}.\n"
]
} |
OK, clear. On *nix you could add a function or alias for this, though, for example:
|
Seeing as we use release-it to make the deployment easier for multiple contributors of the project I wouldn't want to ask everyone to add an alias. Is this a confirmed bug that |
I think everything is working fine actually. Which version of release-it are you using?
Verified that this also works from a local I will updated the docs for raising the verbosity level from a config file. |
my current version is As of |
The 13.6.x releases contain no related changes, but I'm happy it's working for you now. |
I noticed we can run
release-it --verbose
and this will display the output of all hooks.This is very practical as in my hooks I have some ssh commands that launch a script and thus I can see the output of scripts:
Is there any way to add --verbose to my:
release-it.json
so by default when I simply do the commandrelease-it
it will be with the verbose infoThe text was updated successfully, but these errors were encountered: