Update version on install

This commit is contained in:
Jaex 2016-09-22 04:17:00 +03:00
parent cf6d89822f
commit f1ede27ad4
3 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
version: 1.0.0.{build}
version: {build}
image: Visual Studio 2015
configuration:
- Release

View file

@ -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"

View file

@ -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
{