Failed to run in GitHub Actions (assertion failed)
In this run (setting up with setup-ocaml action with default options (and OCaml 5.0)): https://github.com/Nymphium/nloge/actions/runs/4876578507/jobs/8700246942
dune-release opam submit fails with its error log:
[-] Checking out a local release-nloge-0.0.1 branch dune-release: internal error, uncaught exception: File "lib/sos.ml", line 35, characters 28-34: Assertion failed
For reference the line in question is https://github.com/tarides/dune-release/blob/17e1cae2a56efad88b1cb02b16124beaa898c92f/lib/sos.ml#L35
It could be that you're in a different folder and this is buggy. What folder are you running in? Also, you might want to run dune-release opam pkg first, to avoid the warning about a missing .url file.
I run on the project root (/home/runner/work/nloge/nloge) and doing dune-release opam pkg before🤔
https://github.com/Nymphium/nloge/actions/runs/4876578507/workflow#L36-L43
And I forgot to say but I can't reproduce the problem in my local environment.
I found out that --draft causes the problem.
I confirm this assertion is triggered when I pass -C since the opam file / dune project is in a subfolder of the git repo.