Skip to content

Commit 8c8500c

Browse files
authored
fix: substitute version number into filename when pushing package (#65)
1 parent 45a3d95 commit 8c8500c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ jobs:
3939
- name: Publish to Nuget
4040
if: ${{ steps.release.outputs.releases_created }}
4141
run: |
42-
VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
43-
dotnet nuget push OpenFeature.{VERSION}.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
42+
dotnet nuget push OpenFeature.${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.nupkg `
43+
--api-key ${{secrets.NUGET_API_KEY}} `
44+
--source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)