mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Remove AppVeyor folder
This commit is contained in:
parent
403b88fe20
commit
6365ecc60c
4 changed files with 23 additions and 24 deletions
|
@ -1,4 +0,0 @@
|
|||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
||||
{
|
||||
& "ShareX.Setup\bin\$env:CONFIGURATION\ShareX.Setup.exe" -AppVeyor "$env:CONFIGURATION"
|
||||
}
|
|
@ -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
|
|
@ -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"
|
||||
}
|
26
appveyor.yml
26
appveyor.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue