test repo name

This commit is contained in:
BlueBlock
2023-03-31 11:16:40 -04:00
parent 6d4d60e3b1
commit 000cea1dda
2 changed files with 3 additions and 2 deletions

View File

@@ -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"
}

View File

@@ -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"