Skip to content

Commit

Permalink
Update version.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bishbash777 authored Dec 22, 2023
1 parent 947f03d commit 8257dcd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Versioning/version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ $buildSalt = $ENV:BUILD_NUMBER
$branchName = $ENV:BRANCH_NAME

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

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

Expand Down

0 comments on commit 8257dcd

Please sign in to comment.