diff --git a/Tools/postbuild_installer.ps1 b/Tools/postbuild_installer.ps1 index e4570f9f..426aa4c9 100644 --- a/Tools/postbuild_installer.ps1 +++ b/Tools/postbuild_installer.ps1 @@ -54,7 +54,7 @@ if ( $IsAppVeyor -and ($ConfigurationName.ToUpper() -match "RELEASE") -and (($en & "$PSScriptRoot\update_and_upload_website_release_json_file.ps1" -WebsiteTargetOwner $env:WEBSITE_TARGET_OWNER -WebsiteTargetRepository $env:WEBSITE_TARGET_REPOSITORY -PreTagName $env:NightlyBuildTagName -TagName $env:APPVEYOR_BUILD_VERSION -ProjectName $env:APPVEYOR_PROJECT_NAME - #& "$PSScriptRoot\update_and_upload_assemblyinfocs.ps1" + & "$PSScriptRoot\update_and_upload_assemblyinfocs.ps1" } diff --git a/Tools/update_and_upload_assemblyinfocs.ps1 b/Tools/update_and_upload_assemblyinfocs.ps1 index d78cecce..5aebf005 100644 --- a/Tools/update_and_upload_assemblyinfocs.ps1 +++ b/Tools/update_and_upload_assemblyinfocs.ps1 @@ -6,6 +6,7 @@ Write-Output "===== Begin $($PSCmdlet.MyInvocation.MyCommand) =====" $MainRepository = $Env:APPVEYOR_REPO_NAME.Split("/\")[1] $IsAppVeyor = !([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER)) +Write-Output "MainRepository: $MainRepository" if ($IsAppVeyor) { @@ -37,7 +38,7 @@ if ($IsAppVeyor) { $assemblyinfocs_content = [System.String]::Join("`r`n", (Get-Content "$buildFolder\mRemoteNG\Properties\AssemblyInfo.cs")) - Set-GitHubContent -OwnerName $MainRepository -RepositoryName $MainRepository -Path "mRemoteNG\Properties\AssemblyInfo.cs" -CommitMessage "AssemblyInfo.cs updated for $UpdateChannel $ModifiedTagName" -Content $assemblyinfocs_content -BranchName main + #Set-GitHubContent -OwnerName $MainRepository -RepositoryName $MainRepository -Path "mRemoteNG\Properties\AssemblyInfo.cs" -CommitMessage "AssemblyInfo.cs updated for $UpdateChannel $ModifiedTagName" -Content $assemblyinfocs_content -BranchName main Write-Output "publish completed"