mill-vcs-version icon indicating copy to clipboard operation
mill-vcs-version copied to clipboard

Allow overriding the version via env var and/or file

Open lefou opened this issue 1 year ago • 0 comments

Sometimes, it's wanted to override the version which is normally inferred from the version control system (git). E.g. when building from a release tarball.

Therefore, mill-vcs-version should check for a MILL_VCS_VERSION env variable as well as for a MILL_VCS_VERSION file. If any of those is present, it should read the version from these instead of trying to run git.

lefou avatar Mar 08 '24 17:03 lefou