diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2bf1adf5..ed1c59c4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -17,13 +17,11 @@ jobs:
dotnet-version: 3.1.100-preview1-014459
- name: Dotnet Pack
working-directory: src/BlazorTable
- run: dotnet pack --configuration Release
+ run: dotnet pack -c Release -p:Version=${GITHUB_REF##*/v}
- name: Dotnet Nuget Push
working-directory: src/BlazorTable/bin/Release
- run: dotnet nuget push BlazorTable.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY
+ run: dotnet nuget push BlazorTable.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
continue-on-error: true
- env:
- NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
- name: Create Release
uses: actions/create-release@master
env:
diff --git a/src/BlazorTable/BlazorTable.csproj b/src/BlazorTable/BlazorTable.csproj
index 1b47695e..dc535b0e 100644
--- a/src/BlazorTable/BlazorTable.csproj
+++ b/src/BlazorTable/BlazorTable.csproj
@@ -9,7 +9,6 @@
Ivan Josipovic
https://BlazorTable.netlify.com
Blazor;Table;Grid;DataTable;Data;Sort;Filter;AspNetCore;AspNet
- 0.0.8-preview1
icon.png
https://github.com/IvanJosipovic/BlazorTable
git