mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Indentation changes
This commit is contained in:
parent
03d415e326
commit
73198c6e47
1 changed files with 20 additions and 20 deletions
40
appveyor.yml
40
appveyor.yml
|
@ -12,34 +12,34 @@ environment:
|
||||||
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA87ap7oCyD5FQJaiZSTHgeE=
|
secure: oWmEefxkbok87VNVsrUuXKgNaM4+j+EW6FBLsXwCbv3OVHgFvT0M9k4891OvYXDsj0oLuEn0oZeaeV8RrRDHA87ap7oCyD5FQJaiZSTHgeE=
|
||||||
install:
|
install:
|
||||||
- ps: |
|
- ps: |
|
||||||
$content = Get-Content "SharedAssemblyInfo.cs"
|
$content = Get-Content "SharedAssemblyInfo.cs"
|
||||||
$match = [regex]::Match($content, 'AssemblyVersion\(\"(.+?)\"\)')
|
$match = [regex]::Match($content, 'AssemblyVersion\(\"(.+?)\"\)')
|
||||||
if ($match.Success)
|
if ($match.Success)
|
||||||
{
|
{
|
||||||
$env:AppVersion = $match.Groups[1].Value
|
$env:AppVersion = $match.Groups[1].Value
|
||||||
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
|
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$env:AppVersion = "1.0.0"
|
$env:AppVersion = "1.0.0"
|
||||||
}
|
}
|
||||||
before_build:
|
before_build:
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
||||||
{
|
{
|
||||||
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
|
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
|
||||||
}
|
}
|
||||||
nuget restore ShareX.sln
|
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: |
|
- ps: |
|
||||||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
||||||
{
|
{
|
||||||
& "ShareX.Setup\bin\$env:CONFIGURATION\ShareX.Setup.exe" -AppVeyor "$env:CONFIGURATION"
|
& "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