I shouldn't be allowed to have a computer

This commit is contained in:
Brant Martin
2019-03-03 15:23:43 -05:00
parent 14ae58ca0c
commit 796feb05e6

View File

@@ -1,5 +1,5 @@
$buildSalt = $Env.BUILD_NUMBER
$branchName = $Env.BRANCH_NAME
$buildSalt = $Env:BUILD_NUMBER
$branchName = $Env:BRANCH_NAME
$gitSimpleVersion = git describe --tags --abbrev=0
$simpleVersionStandard = echo $gitSimpleVersion | Select-String -Pattern "([0-9]+)\.([0-9]+)\.([0-9]+)" | % {$_.Matches} | %{$_.Groups[1].Value+"."+$_.Groups[2].Value+"."+$_.Groups[3].Value}
$dotNetVersion = "$simpleVersionStandard.$buildSalt"