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

Commit ff85226

Browse files
authored
Set up CD with Azure Pipelines (#3)
* Set correct assembly metadata * Update metadata and documentation
1 parent 0eb188f commit ff85226

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,43 @@ You can find me (@mbhoek) on https://gitter.im/techtalk/specflow-plugin-dev for
1414
- [ ] Proper README
1515
- [x] Add LICENSE
1616
- [ ] Make issue tracker available (1.0.0+)
17+
- [ ] Move TODO to TODO+ document?
18+
- Too bad VS does not support TODO+ extension (it's VSCode only)
19+
- [ ] Howto setup services
20+
- [ ] NuGet
21+
- [ ] Azure DevOps
22+
- [ ] GitHub
1723

1824
### CI/CD
1925

2026
- [x] Semantic versioning
2127
- GitVersion Build Task
22-
- [ ] GitHub workflow (?)
28+
- [x] GitHub workflow (?)
2329
- https://guides.github.com/introduction/flow/
24-
- [ ] CI -> Azure Pipelines
25-
- [ ] Build using Azure Pipelines
26-
- [ ] Smoke Test using the .Tests project
30+
- Can't really get used to this, I prefer gitflow thus far
31+
- Trying to stick to it just to learn
32+
- [x] CI -> Azure Pipelines
33+
- [x] Build using Azure Pipelines
34+
- [x] Smoke Test using the .Tests project
2735
- [ ] CD -> NuGet
28-
- [ ] Release a succesful build (gating?)
36+
- [x] Release a succesful build (gating?)
2937
- [ ] Signed packages
3038
- https://docs.microsoft.com/en-us/nuget/reference/signed-packages-reference
3139
- I'd like to sign the release commits (in git) as well (tags?)
40+
- Signed packages feels like a hassle with the Certification needed (and costs)
41+
- Probably best delayed until it's a really popular package
42+
- [ ] GitHub Releases? How and why?
43+
- [x] Implement GitHub Release from Azure DevOps
44+
- Still feels like you always need a manual step to release (vs GitFlow which allows you to auto-release)
3245

3346
### Code
3447

3548
- [x] Add .gitignore
3649
- [ ] Add .editorconfig
3750
- [ ] Add source code quality guidelines
38-
- [ ] Add SourceLink
51+
- [x] Add SourceLink
3952
- https://devblogs.microsoft.com/nuget/introducing-source-code-link-for-nuget-packages/
53+
- [x] Set Assembly metadata correctly
4054

4155
### Tests
4256

@@ -52,4 +66,3 @@ You can find me (@mbhoek) on https://gitter.im/techtalk/specflow-plugin-dev for
5266
- [ ] Slack
5367
- [ ] Twitter
5468
- [ ] LinkedIn
55-
- [ ] GitHub Releases

SpecFlow.DependencyInjection.Tests/SpecFlow.DependencyInjection.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
</PackageReference>
1515
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
1616
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
17+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19324-01">
18+
<PrivateAssets>all</PrivateAssets>
19+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
20+
</PackageReference>
1721
<PackageReference Include="SpecFlow" Version="3.0.224" />
1822
<PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="3.0.224" />
1923
<PackageReference Include="SpecFlow.xUnit" Version="3.0.224" />

SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4-
<AssemblyName>SolidToken.SpecFlow.DependencyInjection.SpecFlowPlugin</AssemblyName>
54
<PackageId>SolidToken.SpecFlow.DependencyInjection</PackageId>
5+
<Product>SpecFlow.DependencyInjection</Product>
66
<Description>SpecFlow Plugin for Microsoft.Extensions.DependencyInjection</Description>
77
<Authors>Mark Hoek</Authors>
88
<Company>Solid Token</Company>
@@ -12,13 +12,15 @@
1212
<RepositoryUrl>https://github.com/solidtoken/SpecFlow.DependencyInjection.git</RepositoryUrl>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1414
<RootNamespace>SolidToken.SpecFlow.DependencyInjection</RootNamespace>
15+
<AssemblyName>SolidToken.SpecFlow.DependencyInjection.SpecFlowPlugin</AssemblyName>
1516
</PropertyGroup>
1617
<ItemGroup>
1718
<PackageReference Include="GitVersionTask" Version="4.0.1-beta1-65">
1819
<PrivateAssets>all</PrivateAssets>
1920
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2021
</PackageReference>
2122
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
23+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19324-01" PrivateAssets="All" />
2224
<PackageReference Include="SpecFlow" Version="3.0.224" />
2325
</ItemGroup>
2426
</Project>

0 commit comments

Comments
 (0)