diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eeb4bcc..726da1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: run: dotnet build MauiInsights/MauiInsights.csproj --no-restore - name: Pack - run: dotnet pack MauiInsights/MauiInsights.csproj -p:PackageVersion='${{ github.GITHUB_REF_NAME }}'' + run: dotnet pack MauiInsights/MauiInsights.csproj -p:PackageVersion='${{ github.GITHUB_REF }}'' - name: Push - run: dotnet nuget push MauiInsights/MauiInsights/bin/Release/MauiInsights.${{ github.GITHUB_REF_NAME }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json + run: dotnet nuget push MauiInsights/MauiInsights/bin/Release/MauiInsights.${{ github.GITHUB_REF }}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json