Commit f8005bd3 authored by MARGERY David's avatar MARGERY David
Browse files

Even more info in the case packaging fails

parent 65bda881
Pipeline #52475 failed with stages
in 12 minutes and 36 seconds
......@@ -201,7 +201,10 @@ namespace :package do
# make sure no pending changes need to be commited to repository
uncommitted_changes=`git status --untracked-files=no --porcelain`
if uncommitted_changes != ""
STDERR.puts "Unexpected diff:"
git diff
fail "You are building from a directory with uncommited files in git. Please commit pending changes so there is a chance the build can be traked back to a specific state in the repository\n#{uncommitted_changes}"
# prepare the build directory
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment