Skip to content

Commit

Permalink
Fetch tags during publishing (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Gołębiowski <tgolebiowski@virtuslab.com>
  • Loading branch information
tomaszgolebiowski and Tomasz Gołębiowski authored Nov 22, 2024
1 parent f1f0442 commit 6c94939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/next-version-gen/generateVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ if($isPreview) {
}

$nextPathVer = 0
git -C $env:GITHUB_WORKSPACE fetch --tags 2> Out-Null

do {
$nextVersion = "$majorVer.$newMinorVer.$nextPathVer"
Expand Down

0 comments on commit 6c94939

Please sign in to comment.