When copying the license file (with or without .txt) from the repo, keep the name as-is.
Currently, the license file created is always "LICENSE.txt".
Add destination path for the copied license file to pathsToRemove to match other uses.
checkpoint.LatestVersion
Pass LicenseDir to DownloadAndUnpack call
Currently an empty string is passed as checkpoint doesn't support Enterprise, and before this PR, it was assumed that only Enterprise versions would contain a License.
versions.InstallationOptions
Add LicenseDir to InstallationOptions - same struct that contains InstallDir.
What
High-level overview
Introduces
LicenseDir
field into the following:build.GitRevision
checkpoint.LatestVersion
releases.ExactVersion
releases.LatestVersion
versions.InstallationOptions
Removes
LicenseDir
field from:EnterpriseOptions
build.GitRevision
pathsToRemove
to match other uses.checkpoint.LatestVersion
DownloadAndUnpack
callcheckpoint
doesn't support Enterprise, and before this PR, it was assumed that only Enterprise versions would contain a License.versions.InstallationOptions
InstallationOptions
- same struct that containsInstallDir
.Why
Closes #213