Skip to content

Commit dafb644

Browse files
author
sangeet-joy_xero
committed
Fix release tag issue in publish pipeline
1 parent fc8cba9 commit dafb644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
working-directory: Xero-NetStandard
5555

5656
- name: Publish Package to Nuget.org
57-
run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
57+
run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{steps.get_latest_release_number.outputs.release_tag}}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
5858
working-directory: Xero-NetStandard
5959

6060

0 commit comments

Comments
 (0)