File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ PrivateData = @{
114
114
# ReleaseNotes = ''
115
115
116
116
# External dependent modules of this module
117
- ExternalModuleDependencies = @ (' powershell-yaml ' )
117
+ # ExternalModuleDependencies = @()
118
118
119
119
} # End of PSData hashtable
120
120
Original file line number Diff line number Diff line change @@ -11,12 +11,8 @@ install:
11
11
- ps : >-
12
12
Install-PackageProvider -Name NuGet -Force | Out-Null
13
13
14
- Install-Module PowerShellGet -Scope CurrentUser -Force
15
-
16
- Remove-Module PowerShellGet -Force
17
-
18
- Import-Module PowerShellGet -Force
14
+ Install-Module 'powershell-yaml' -Scope CurrentUser -Force -AllowClobber
19
15
build_script :
20
16
- ps : .\build.ps1 -Revision "$env:APPVEYOR_BUILD_NUMBER"
21
17
deploy_script :
22
- - ps : start powershell -wait { Publish-Module -Path .\UnitySetup -NugetAPIKey $env:NugetAPIKey }
18
+ - ps : Publish-Module -Path .\UnitySetup -NugetAPIKey $env:NugetAPIKey
Original file line number Diff line number Diff line change 1
1
param ([int ]$Revision = 0 )
2
- $currentVersion = Test-ModuleManifest .\UnitySetup\UnitySetup.psd1 | Select-Object - ExpandProperty Version
2
+ $currentVersion = Test-ModuleManifest - ErrorAction Stop .\UnitySetup\UnitySetup.psd1 | Select-Object - ExpandProperty Version
3
3
Write-Host " Current Module Version: $currentVersion "
4
4
$newVersion = New-Object System.Version($currentVersion.Major , $currentVersion.Minor , $Revision )
5
5
6
6
Write-Host " New Module Version:$newVersion "
7
- Update-ModuleManifest - ModuleVersion $newVersion - Path .\UnitySetup\UnitySetup.psd1
7
+ Update-ModuleManifest - ErrorAction Stop - ModuleVersion $newVersion - Path .\UnitySetup\UnitySetup.psd1
You can’t perform that action at this time.
0 commit comments