Skip to content

Commit

Permalink
version 1.4; use build number with GITHUB_RUN_NUMBER
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhngtu committed May 16, 2021
1 parent 562eeaf commit 9d70ab1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Version.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$fileVersion = 1,3,8,0
$fileVersion = 1,4,0,0
$registrarFileVersion = 1,0,0,0
$productVersion = 1,3,8,0
$productVersion = 1,4,0,0

if ($Env:GITHUB_ACTIONS -eq "true") {
$fileVersion[3] = [int]$Env:GITHUB_RUN_NUMBER
$registrarFileVersion[3] = [int]$Env:GITHUB_RUN_NUMBER
$productVersion[3] = [int]$Env:GITHUB_RUN_NUMBER
$fileVersion[2] = [int]$Env:GITHUB_RUN_NUMBER
$registrarFileVersion[2] = [int]$Env:GITHUB_RUN_NUMBER
$productVersion[2] = [int]$Env:GITHUB_RUN_NUMBER
}

0 comments on commit 9d70ab1

Please sign in to comment.