mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-30 20:20:34 +12:00
Update version on install
This commit is contained in:
parent
cf6d89822f
commit
f1ede27ad4
|
@ -1,4 +1,4 @@
|
|||
version: 1.0.0.{build}
|
||||
version: {build}
|
||||
image: Visual Studio 2015
|
||||
configuration:
|
||||
- Release
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
|
||||
|
||||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
||||
{
|
||||
Invoke-WebRequest "$env:APIKeys" -OutFile "ShareX.UploadersLib\APIKeys\APIKeysLocal.cs"
|
||||
|
|
|
@ -3,6 +3,7 @@ $match = [regex]::Match($content, 'AssemblyVersion\(\"(.+?)\"\)')
|
|||
if ($match.Success)
|
||||
{
|
||||
$env:AppVersion = $match.Groups[1].Value
|
||||
Update-AppveyorBuild -Version "$env:AppVersion.$env:APPVEYOR_BUILD_NUMBER"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue