Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Improve publishing plugin error output #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carlpulley
Copy link
Contributor

@carlpulley carlpulley commented Mar 22, 2018

  • Add output of git status --porcelain to error output

Addresses Issue #73


  • Ready for review

@@ -168,7 +168,7 @@ object CakePublishMavenPlugin extends AutoPlugin {
require(
gitStatus.isSuccess && gitStatus.getOrElse("").isEmpty,
s"Aborting release process for ${name.value}. Project should be a " +
"clean git repository."
s"clean git repository. Error output:\n$gitStatus"
Copy link
Contributor

@amirkarimi amirkarimi Mar 22, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it renders the git status ... command output when it fails or a big Failure({exception message}) text? An example of the final message would be helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants