Remove AppVeyor folder

This commit is contained in:
Jaex 2022-10-15 22:22:57 +03:00
parent 403b88fe20
commit 6365ecc60c
4 changed files with 23 additions and 24 deletions

View file

@ -1,4 +0,0 @@
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{
& "ShareX.Setup\bin\$env:CONFIGURATION\ShareX.Setup.exe" -AppVeyor "$env:CONFIGURATION"
}

View file

@ -1,6 +0,0 @@
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
}
nuget restore ShareX.sln

View file

@ -1,11 +0,0 @@
$content = Get-Content "SharedAssemblyInfo.cs"
$match = [regex]::Match($content, 'AssemblyVersion\(\"(.+?)\"\)')
if ($match.Success)
{
$env:AppVersion = $match.Groups[1].Value
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
}
else
{
$env:AppVersion = "1.0.0"
}

View file

@ -11,15 +11,35 @@ environment:
APIKeys:
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA87ap7oCyD5FQJaiZSTHgeE=
install:
- ps: AppVeyor\install.ps1
- ps: |
$content = Get-Content "SharedAssemblyInfo.cs"
$match = [regex]::Match($content, 'AssemblyVersion\(\"(.+?)\"\)')
if ($match.Success)
{
$env:AppVersion = $match.Groups[1].Value
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
}
else
{
$env:AppVersion = "1.0.0"
}
before_build:
- ps: AppVeyor\before_build.ps1
- ps: |
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
}
nuget restore ShareX.sln
build:
project: ShareX.sln
parallel: true
verbosity: minimal
after_build:
- ps: AppVeyor\after_build.ps1
- ps: |
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{
& "ShareX.Setup\bin\$env:CONFIGURATION\ShareX.Setup.exe" -AppVeyor "$env:CONFIGURATION"
}
artifacts:
- path: ShareX-*-setup.exe
name: Setup