Closed Julow closed 1 year ago
Still outputting the wrong answer...
$ ./ocaml-platform --version
1c7de42
I have something slightly better at https://github.com/Julow/ocaml-platform/tree/test-release-action (1.7.0-4-...
instead of test
). Still WIP.
I seem to have fixed the issue. It might be a bug in actions/checkout
, which doesn't fetch the annotated tags correctly (relevant issue: https://github.com/actions/checkout/issues/882)
I can't find a test release in your fork with the newest fix. I would prefer if we can test this one before releasing another ocaml-platform
version!
It's this one: https://github.com/Julow/ocaml-platform/releases/tag/test
--version
is returning the commit hash because the checkout step in CI is not fetching the tags.According to the doc: