You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran dune-release distrib ... dune-release opam pkg / dune-release opam submit, and only the "main" package got a "v" in the url, the others did not (leading to 404 from opam-ci): ocaml/opam-repository#19818 fix in ocaml/opam-repository@9d5053d
not sure why this happens, and if this is an issue with happy-eyeballs (see ocurrent/ocaml-ci#381 which causes some other trouble). a local dune build does not work, but dune build -p happy-eyeballs and dune build -p happy-eyeballs-lwt,happy-eyeballs-mirage do.
The text was updated successfully, but these errors were encountered:
Hi @hannesm, thanks for your report. I've looked into this and the issue seems to be that the .url file is only generated for the main artifact, the other artifacts get a default URL which is wrong if the tag starts with a v.
This is how after publish you run opam pkg:
dune-release: [WARNING] Could not find _build/dummy-sub-0.3.0~beta5.url.
dune-release: [WARNING] using https://github.com/Leonidas-from-XIV/dune-release-testing/releases/download/0.3.0~beta5/dummy-0.3.0~beta5.tbz for as url.src. Note that it might differ from the one generated by Github
CHANGES:
### Fixed
- Fixed the release asset URL for projects with multiple opam packages. Before,
the packages would attempt to infer their URL and fail in rare cases where
the project uses `v` as prefix for tags but the project version omits it. Now
they share the same URL. (tarides/dune-release#402, tarides/dune-release#404, @Leonidas-from-XIV)
I ran dune-release distrib ... dune-release opam pkg / dune-release opam submit, and only the "main" package got a "v" in the url, the others did not (leading to 404 from opam-ci): ocaml/opam-repository#19818 fix in ocaml/opam-repository@9d5053d
not sure why this happens, and if this is an issue with happy-eyeballs (see ocurrent/ocaml-ci#381 which causes some other trouble). a local
dune build
does not work, butdune build -p happy-eyeballs
anddune build -p happy-eyeballs-lwt,happy-eyeballs-mirage
do.The text was updated successfully, but these errors were encountered: