Closed samoht closed 7 years ago
Ha actually it seems to be a bug in topkg opam pkg --dist-name <foo>
:
$ topkg distrib --dist-name datakit-client
Cloning into '_build/datakit-client-0.6.0.build'...
done.
Wrote archive _build/datakit-client-0.6.0.tbz
[...]
Distribution for datakit-client 0.6.0
Commit b450d04b682c2acb866048971eed51785c6ff966
Archive _build/datakit-client-0.6.0.tbz
$ topkg opam pkg --dist-name datakit-client
Wrote OPAM package _build/datakit.0.6.0
Not sure why I was so confused, but using the -n <name>
option worked much better.
What is the expected workflow for multi-packages release? I am struggling a little bit at the moment to understand how this should work.
topkg opam pkg --dist-name <foo> --dist-file <bar>
doesn't seem to do what I want, e.g. it seems to discard my choice ofdist-name
.Also, it's all very verbose, what I really dream is something like
topkg tag && topkg bistro --pkgs foo,bar,baz
or eventopkg tag && topkg bistro --all-pkgs