diff --git a/Taskfile.yml b/Taskfile.yml index 5977dff0..378e3409 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -49,7 +49,10 @@ tasks: cmds: - task: docs:cli:generate - git add www/docs/cli - - "git commit -m 'chore(docs): update CLI documentation'" + - | + if [[ `git status www/docs/cli --porcelain` ]]; then + git commit -m 'chore(docs): update CLI documentation' + fi - task: release:dry-run - task: release:make