mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-17 13:44:46 +00:00
removed check for tag count
This commit is contained in:
7
.github/scripts/GenerateVersionNumber.ps1
vendored
7
.github/scripts/GenerateVersionNumber.ps1
vendored
@@ -1,8 +1,3 @@
|
||||
$tagCount = $(git rev-list --tags='*.*.*' --count)
|
||||
if ($tagCount -eq 0) {
|
||||
$latestVersion = "0.0.0"
|
||||
}
|
||||
else {
|
||||
$latestVersions = $(git describe --tags $(git tag --merged master) --abbrev=0)
|
||||
$latestVersion = [version]"0.0.0"
|
||||
Foreach ($version in $latestVersions) {
|
||||
@@ -17,7 +12,7 @@ else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$newVersion = [version]$latestVersion
|
||||
$phase = ""
|
||||
$newVersionString = ""
|
||||
|
||||
Reference in New Issue
Block a user