Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Enable source link (#42)
Browse files Browse the repository at this point in the history
* include source link

* Fix wrong url

* Added deterministic builds
  • Loading branch information
klemmchr authored Dec 5, 2020
1 parent fa9616a commit 26f4e05
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
13 changes: 9 additions & 4 deletions src/MvvmBlazor/MvvmBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Authors>Christian Klemm</Authors>
<Description>A lightweight Blazor Mvvm Library</Description>
<PackageProjectUrl>https://github.com/chris579/MvvmBlazor</PackageProjectUrl>
<RepositoryUrl>https://github.com/chris579/MvvmBlazor</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>Blazor,Mvvm</PackageTags>
<PackageProjectUrl>https://github.com/klemmchr/MvvmBlazor</PackageProjectUrl>
<RepositoryUrl>https://github.com/klemmchr/MvvmBlazor</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Blazor;Mvvm</PackageTags>
<Nullable>enable</Nullable>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<ItemGroup>
Expand All @@ -24,6 +28,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit 26f4e05

Please sign in to comment.