Skip to content

Commit

Permalink
Fixed version concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmorato committed Oct 19, 2023
1 parent ef65cb4 commit ee606ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd_standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ jobs:
run: |
dotnet nuget add source "${{ github.workspace }}/nupkg" --name LocalVersion
$version = ${{ env.GitVersion_Major }}.${{ env.GitVersion_Minor }}.${{ env.GitVersion_Patch }}
$version = "${{ env.GitVersion_Major }}.${{ env.GitVersion_Minor }}.${{ env.GitVersion_Patch }}"
if (-Not ([string]::IsNullOrEmpty("${{ env.GitVersion_PreReleaseLabelWithDash }}"))) {
$version = $version + "${{ env.GitVersion_PreReleaseLabelWithDash }}${{ env.GitVersion_WeightedPreReleaseNumber }}"
$version = "$version${{ env.GitVersion_PreReleaseLabelWithDash }}${{ env.GitVersion_WeightedPreReleaseNumber }}"
}
dotnet new --install "${{ github.workspace }}/nupkg/OpenDDSharp.Templates.$version.nupkg"
Expand Down

0 comments on commit ee606ce

Please sign in to comment.