Skip to content

Commit

Permalink
pwsh conccatenation syntax?
Browse files Browse the repository at this point in the history
  • Loading branch information
9swampy committed Nov 20, 2024
1 parent ad8b914 commit e1b49b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:
run: |
$str = dotnet-gitversion /updateprojectfiles | out-string
$json = ConvertFrom-Json $str
$json
$semVer = $json.SemVer
$fullSemVer = $json.FullSemVer
$nuGetVersionV2 = $json.MajorMinorPatch
$buildMetaDataPadded = $json.PreReleaseLabelWithDash$json.WeightedPreReleaseNumber
$buildMetaDataPadded = "$($json.MajorMinorPatch)$($json.PreReleaseTagWithDash)$($json.WeightedPreReleaseNumber)"
Write-Host $json
Write-Host "semVer:" $semVer
Expand Down

0 comments on commit e1b49b6

Please sign in to comment.