mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
Remove AppVeyor folder
This commit is contained in:
parent
403b88fe20
commit
6365ecc60c
|
@ -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:
|
APIKeys:
|
||||||
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA87ap7oCyD5FQJaiZSTHgeE=
|
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA87ap7oCyD5FQJaiZSTHgeE=
|
||||||
install:
|
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:
|
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:
|
build:
|
||||||
project: ShareX.sln
|
project: ShareX.sln
|
||||||
parallel: true
|
parallel: true
|
||||||
verbosity: minimal
|
verbosity: minimal
|
||||||
after_build:
|
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:
|
artifacts:
|
||||||
- path: ShareX-*-setup.exe
|
- path: ShareX-*-setup.exe
|
||||||
name: Setup
|
name: Setup
|
||||||
|
|
Loading…
Reference in a new issue