if you do:
mkdir test cd test jreleaser init git init jreleaser deploy
you get this error:
Could not determine git HEAD null
which I assume is failing as no commits. since when done a git commit it tells me:
Could not determine remote repository doesn't have a remote named 'origin'
That's correct. The
deploy step requires running inside a git repository with at least 1 commit. and a default remote set. The current expectation is that the project is in a releasable state.
We may have to review/relax this constraint in the future.