Skip to content

Commit ee9a77c

Browse files
authored
Update NuGet version formatting in build.yml
1 parent 9916ff6 commit ee9a77c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434
id: gitversion
3535

3636
- name: Format NuGet version
37-
run: echo "##[set-output name=nugetVersion;]${{ steps.gitversion.outputs.NuGetVersion | replace('-', '.') }}"
37+
run: |
38+
nugetVersion="${{ steps.gitversion.outputs.NuGetVersion }}"
39+
nugetVersion="${nugetVersion//-/.}"
40+
echo "##[set-output name=nugetVersion;]$nugetVersion"
3841
id: formatversion
3942

4043
- name: Display GitVersion outputs

0 commit comments

Comments
 (0)