Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/RunVersionController.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ switch ($PSCmdlet.ParameterSetName)
$ModuleName = $JsonFile.Replace('Microsoft.Azure.PowerShell.Cmdlets.', '').Replace('.dll.json', '')
if (!$ExpectJsonHashSet.Contains($JsonFile))
{
Write-Host "Module ${ModuleName} is not GA yet. Remove the json file: ${JsonFile}." -ForegroundColor Red
rm $(Join-Path -Path "$PSScriptRoot\Tools.Common\SerializedCmdlets" -ChildPath $JsonFile)
Write-Warning "Module ${ModuleName} is not GA yet. The json file: ${JsonFile} is for reference"
# rm $(Join-Path -Path "$PSScriptRoot\Tools.Common\SerializedCmdlets" -ChildPath $JsonFile)
}
}
try
Expand Down
4 changes: 2 additions & 2 deletions tools/VersionController/Models/VersionFileHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public VersionFileHelper(string rootDirectory, string outputModuleManifestPath,
OutputModuleManifestPath = outputModuleManifestPath;
ProjectModuleManifestPath = projectModuleManifestPath;

_outputDirectories = new List<string>{ DebugDirectory };
_outputDirectories = new List<string>{ ReleaseDirectory };

_projectDirectories = new List<string>{ Path.Combine(RootDirectory, @"src") };
}
Expand All @@ -27,7 +27,7 @@ public VersionFileHelper(string rootDirectory, string outputModuleManifestPath,

public string PackageDirectory => Path.Combine(RootDirectory, @"artifacts");

public string DebugDirectory => Path.Combine(PackageDirectory, @"Debug");
public string ReleaseDirectory => Path.Combine(PackageDirectory, @"Release");

public string ArtifactsVersionControllerDirectory => Path.Combine(PackageDirectory, @"VersionController");

Expand Down
2 changes: 1 addition & 1 deletion tools/VersionController/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static void Main(string[] args)

_rootDirectory = Directory.GetParent(artifactsDirectory).FullName;
_projectDirectories = new List<string>{ Path.Combine(_rootDirectory, @"src\") }.Where((d) => Directory.Exists(d)).ToList();
_outputDirectories = new List<string>{ Path.Combine(_rootDirectory, @"artifacts\Debug\") }.Where((d) => Directory.Exists(d)).ToList();
_outputDirectories = new List<string>{ Path.Combine(_rootDirectory, @"artifacts\Release\") }.Where((d) => Directory.Exists(d)).ToList();

var exceptionsDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Exceptions");
if (args != null && args.Length > 0)
Expand Down