Merged PR 5671: Update the Archive module version

Update the Archive module version
This commit is contained in:
Aditya Patwardhan
2018-11-06 20:43:33 +00:00
committed by Travis Plunk
parent ea3c0168a3
commit da5d8e707d
4 changed files with 28 additions and 10 deletions
+9 -3
View File
@@ -33,9 +33,15 @@ phases:
condition: succeededOrFailed()
- powershell: |
git submodule update --init
displayName: SubModule Init
condition: succeededOrFailed()
Import-Module $(Build.SourcesDirectory)/build.psm1 -Force
New-NugetConfigFile -NugetFeedUrl $(AzDevOpsFeed) -UserName $(AzDevOpsFeedUserName) -ClearTextPAT $(AzDevOpsFeedPAT) -FeedName AzDevOpsFeed -Destination $(Build.SourcesDirectory)/src/Modules
if(-not (Test-Path "$(Build.SourcesDirectory)/src/Modules/nuget.config"))
{
throw "nuget.config is not created"
}
displayName: 'Add nuget.config for AzDevOps feed for PSGallery modules '
condition: and(succeededOrFailed(), ne(variables['AzDevOpsFeed'], ''))
- powershell: |
sudo apt-get update
+9 -3
View File
@@ -26,9 +26,15 @@ phases:
condition: ne(variables['Build.Reason'], 'PullRequest')
- powershell: |
git submodule update --init
displayName: SubModule Init
condition: succeededOrFailed()
Import-Module $(Build.SourcesDirectory)/build.psm1 -Force
New-NugetConfigFile -NugetFeedUrl $(AzDevOpsFeed) -UserName $(AzDevOpsFeedUserName) -ClearTextPAT $(AzDevOpsFeedPAT) -FeedName AzDevOpsFeed -Destination $(Build.SourcesDirectory)/src/Modules
if(-not (Test-Path "$(Build.SourcesDirectory)/src/Modules/nuget.config"))
{
throw "nuget.config is not created"
}
displayName: 'Add nuget.config for AzDevOps feed for PSGallery modules '
condition: and(succeededOrFailed(), ne(variables['AzDevOpsFeed'], ''))
- powershell: |
tools/travis.ps1 -Stage Bootstrap
+9 -3
View File
@@ -30,9 +30,15 @@ steps:
condition: ne(variables['Build.Reason'], 'PullRequest')
- powershell: |
git submodule update --init
displayName: SubModule Init
condition: succeededOrFailed()
Import-Module $(Build.SourcesDirectory)/build.psm1 -Force
New-NugetConfigFile -NugetFeedUrl $(AzDevOpsFeed) -UserName $(AzDevOpsFeedUserName) -ClearTextPAT $(AzDevOpsFeedPAT) -FeedName AzDevOpsFeed -Destination $(Build.SourcesDirectory)/src/Modules
if(-not (Test-Path "$(Build.SourcesDirectory)/src/Modules/nuget.config"))
{
throw "nuget.config is not created"
}
displayName: 'Add nuget.config for AzDevOps feed for PSGallery modules '
condition: and(succeededOrFailed(), ne(variables['AzDevOpsFeed'], ''))
- powershell: |
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
+1 -1
View File
@@ -5,7 +5,7 @@
<ItemGroup>
<PackageReference Include="PackageManagement" Version="1.1.7.2" />
<PackageReference Include="PowerShellGet" Version="1.6.7" />
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.1.0.0" />
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.2.2.0" />
<PackageReference Include="PSReadLine" Version="2.0.0-beta3" />
<PackageReference Include="ThreadJob" Version="1.1.2" />
</ItemGroup>