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'
0

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.

0
© 2022 pullanswer.com - All rights reserved.