mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
Indentation changes
This commit is contained in:
parent
bac399d399
commit
03d415e326
38
appveyor.yml
38
appveyor.yml
|
@ -1,17 +1,17 @@
|
||||||
version: 1.0.0.{build}
|
version: 1.0.0.{build}
|
||||||
image: Visual Studio 2022
|
image: Visual Studio 2022
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Release
|
||||||
- Debug
|
- Debug
|
||||||
- Steam
|
- Steam
|
||||||
- MicrosoftStore
|
- MicrosoftStore
|
||||||
platform: Any CPU
|
platform: Any CPU
|
||||||
shallow_clone: true
|
shallow_clone: true
|
||||||
environment:
|
environment:
|
||||||
APIKeys:
|
APIKeys:
|
||||||
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)
|
||||||
|
@ -24,7 +24,7 @@ install:
|
||||||
$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"
|
||||||
|
@ -35,24 +35,24 @@ build:
|
||||||
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
|
||||||
- path: ShareX-*-setup.exe.sha256
|
- path: ShareX-*-setup.exe.sha256
|
||||||
name: Setup-Checksum
|
name: Setup-Checksum
|
||||||
- path: ShareX-*-portable.zip
|
- path: ShareX-*-portable.zip
|
||||||
name: Portable
|
name: Portable
|
||||||
- path: ShareX-*-portable.zip.sha256
|
- path: ShareX-*-portable.zip.sha256
|
||||||
name: Portable-Checksum
|
name: Portable-Checksum
|
||||||
- path: ShareX-*-Steam.zip
|
- path: ShareX-*-Steam.zip
|
||||||
name: Steam
|
name: Steam
|
||||||
- path: ShareX-*.appx
|
- path: ShareX-*.appx
|
||||||
name: MicrosoftStore
|
name: MicrosoftStore
|
||||||
deploy:
|
deploy:
|
||||||
- provider: GitHub
|
- provider: GitHub
|
||||||
tag: v$(APPVEYOR_BUILD_VERSION)
|
tag: v$(APPVEYOR_BUILD_VERSION)
|
||||||
|
|
Loading…
Reference in a new issue