Skip to content

Commit 22290ce

Browse files
committed
Respond to review comments and allow prebuild assemblies in cleanup build
1 parent 979bcef commit 22290ce

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ before_install:
2525
# https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-383489298
2626
script:
2727
- sudo dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG || travis_terminate 1
28-
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u
28+
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u || travis_terminate 1
2929
- sudo pwsh -NonInteractive -NoLogo -NoProfile -File tools/TestModuleLoading.ps1 || travis_terminate 1
3030
- sudo dotnet pack src/TestPrerequisites/Common.TestPrerequisites.sln --configuration $CONFIG || travis_terminate 1
3131
- sudo dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter "AcceptanceType=CheckIn&RunType!=DesktopOnly" --configuration $CONFIG --framework netcoreapp2.0

src/ResourceManager/Aks/Commands.Aks/Commands.Aks.Netcore.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.Aks\</OutputPath>
1313
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1414
<WarningsAsErrors />
15-
<Version>1.1.0.0</Version>
1615
</PropertyGroup>
1716

1817
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

src/ResourceManager/Aks/Commands.Aks/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
[assembly: ComVisible(false)]
2424
[assembly: CLSCompliant(false)]
2525
[assembly: Guid("a97e0c3e-e389-46a6-b73d-2b9bd6909bdb")]
26-
[assembly: AssemblyVersion("0.0.6")]
27-
[assembly: AssemblyFileVersion("0.0.6")]
26+
[assembly: AssemblyVersion("0.0.5")]
27+
[assembly: AssemblyFileVersion("0.0.5")]

src/ResourceManager/Sql/LegacySdk/SqlManagement.Netcore.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OmitJsonPackage>true</OmitJsonPackage>
55
</PropertyGroup>
66

7+
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.targets" />
78

89
<PropertyGroup>
910
<TargetFramework>netstandard2.0</TargetFramework>
@@ -19,9 +20,6 @@
1920
</PropertyGroup>
2021

2122
<ItemGroup>
22-
<PackageReference Include="Microsoft.Azure.Common" Version="2.2.0" />
23-
<PackageReference Include="Hyak.Common" Version="1.2.1" />
24-
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0-preview-06" PrivateAssets="All" />
2523
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" PrivateAssets="all"/>
2624
</ItemGroup>
2725

tools/CleanupBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ foreach($RMPath in $resourceManagerPaths)
6666
}
6767

6868
Write-Verbose "Removing redundant dlls in $($RMFolder.Name)"
69-
$removedDlls = Get-ChildItem -Path $RMFolder.FullName -Filter "*.dll" -Recurse | where { $acceptedDlls -notcontains $_.Name}
69+
$removedDlls = Get-ChildItem -Path $RMFolder.FullName -Filter "*.dll" -Recurse | where { $acceptedDlls -notcontains $_.Name -and !$_.FullName.Contains("PreloadAssemblies")}
7070
$removedDlls | % { Write-Verbose "Removing $($_.Name)"; Remove-Item $_.FullName -Force }
7171

7272
Write-Verbose "Removing scripts and psd1 in $($RMFolder.FullName)"

0 commit comments

Comments
 (0)