Skip to content

Commit 8257dcd

Browse files
authored
Update version.ps1
1 parent 947f03d commit 8257dcd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎Versioning/version.ps1‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ $buildSalt = $ENV:BUILD_NUMBER
22
$branchName = $ENV:BRANCH_NAME
33

44
# Writing build salt and branch name
5-
Write-Host "Build Salt: $buildSalt"
6-
Write-Host "Branch Name: $branchName"
75

86
$gitSimpleVersion = git describe --tags --abbrev=0 2>$null
97
if (!$gitSimpleVersion) {
10-
Write-Host "No tags found in the repository. Using default version."
118
$gitSimpleVersion = "0.0.1" # Default version
129
}
1310

0 commit comments

Comments
 (0)