mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Trying to use AppVersion env in yml file
This commit is contained in:
parent
eda3629916
commit
ebaa1983e5
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
version: 11.2.1.{build}
|
version: $(AppVersion).{build}
|
||||||
image: Visual Studio 2015
|
image: Visual Studio 2015
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Release
|
||||||
|
|
|
@ -4,4 +4,7 @@ if ($match.Success)
|
||||||
{
|
{
|
||||||
$env:AppVersion = $match.Groups[1].Value
|
$env:AppVersion = $match.Groups[1].Value
|
||||||
}
|
}
|
||||||
Write-Host "Test: ShareX $env:AppVersion"
|
else
|
||||||
|
{
|
||||||
|
$env:AppVersion = "1.0.0"
|
||||||
|
}
|
Loading…
Reference in a new issue