From 26f4e054cc5dc51a1c6bb25d0468e57fb2f91294 Mon Sep 17 00:00:00 2001 From: Christian Klemm Date: Sat, 5 Dec 2020 23:59:48 +0100 Subject: [PATCH] Enable source link (#42) * include source link * Fix wrong url * Added deterministic builds --- .github/workflows/release.yaml | 2 +- src/MvvmBlazor/MvvmBlazor.csproj | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b62beb9..04d1241 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,6 +28,6 @@ jobs: run: > export VERSION=$(git describe --long --tags --match 'v*' | sed 's/v//' | sed -E 's/[-].+//g'); echo $VERSION; - dotnet pack --configuration Release --include-source -p:SymbolPackageFormat=snupkg -p:Version=$VERSION -o out src/MvvmBlazor; + dotnet pack --configuration Release --include-source -p:SymbolPackageFormat=snupkg -p:ContinuousIntegrationBuild=true -p:Version=$VERSION -o out src/MvvmBlazor; cd out; dotnet nuget push MvvmBlazor.$VERSION.nupkg --force-english-output -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json; diff --git a/src/MvvmBlazor/MvvmBlazor.csproj b/src/MvvmBlazor/MvvmBlazor.csproj index d1af4b6..b612dbf 100644 --- a/src/MvvmBlazor/MvvmBlazor.csproj +++ b/src/MvvmBlazor/MvvmBlazor.csproj @@ -6,11 +6,15 @@ false Christian Klemm A lightweight Blazor Mvvm Library - https://github.com/chris579/MvvmBlazor - https://github.com/chris579/MvvmBlazor - Git - Blazor,Mvvm + https://github.com/klemmchr/MvvmBlazor + https://github.com/klemmchr/MvvmBlazor + git + Blazor;Mvvm enable + true + true + snupkg + true @@ -24,6 +28,7 @@ all runtime; build; native; contentfiles; analyzers +