Computes a version record, marks it stamped and writes it as version.json into a directory, so it ships with the artifact.
A failure to write is logged, not thrown.
the directory to write into, created if missing
the record written
Computes a version record, marks it stamped and writes it as version.json into a directory, so it ships with the artifact.
A failure to write is logged, not thrown.