Merge pull request #1847 from cdmihai/cdmihai/recompileWhenCLIChanged
Trigger rebuild when the CLI changed
This commit is contained in:
commit
b0e457559d
6 changed files with 142 additions and 23 deletions
|
@ -169,8 +169,7 @@ namespace Microsoft.DotNet.Cli
|
|||
|
||||
private static string GetCommitSha()
|
||||
{
|
||||
// The CLI ships with a .version file that stores the commit information
|
||||
var versionFile = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, ".version"));
|
||||
var versionFile = DotnetFiles.VersionFile;
|
||||
|
||||
if (File.Exists(versionFile))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue