Skip to content

Commit 961cdc0

Browse files
committed
updated csproj and added source link support
1 parent dc01f6a commit 961cdc0

File tree

4 files changed

+29
-13
lines changed

4 files changed

+29
-13
lines changed

.github/workflows/CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Each line is a file pattern followed by one or more owners
2+
# See: https://help.github.com/articles/about-codeowners/
3+
4+
# These owners will be the default owners for everything in the repo
5+
# Unless a later match takes precedence, they will be requested for
6+
# review when someone opens a pull request
7+
8+
* @biplovkc

.github/workflows/push-to-nuget.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070

7171
- name: Create tag
7272
uses: actions/github-script@v5
73+
if: ${{ always() }}
7374
with:
7475
script: |
7576
github.rest.git.createRef({

Directory.Build.props

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/Biplov.EventBus.RabbitMQ.csproj

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<Authors>Biplov KC</Authors>
55
<OutputType>Library</OutputType>
6+
<Title>RabbitMQ Event Bus</Title>
67
<PackageId>Biplov.EventBus.RabbitMQ</PackageId>
78
<PackageProjectUrl>https://github.com/biplovkc/event-bus-rabbitmq</PackageProjectUrl>
89
<PackageTags>Biplov;BiplovKC;MessageBroker;EventBus;RabbitMQ</PackageTags>
@@ -12,9 +13,27 @@
1213
<Description>Event bus implementation targeting RabbitMQ.</Description>
1314
<LangVersion>latest</LangVersion>
1415
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
15-
</PropertyGroup>
16+
<DebugSymbols>true</DebugSymbols>
17+
<IncludeSymbols>true</IncludeSymbols>
18+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
19+
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
20+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
21+
22+
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
23+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1624

25+
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
26+
<DebugType>embedded</DebugType>
27+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
28+
</PropertyGroup>
29+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
30+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<None Include="../README.md" Pack="true" PackagePath="."/>
34+
</ItemGroup>
1735
<ItemGroup>
36+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
1837
<PackageReference Include="Biplov.EventBus" Version="0.1.4" />
1938
<PackageReference Include="Polly" Version="7.2.3" />
2039
<PackageReference Include="RabbitMQ.Client" Version="6.4.0" />

0 commit comments

Comments
 (0)