Skip to content

Commit 1ddbc77

Browse files
net0wellclaude
andcommitted
build: versão dos pacotes pela tag com MinVer (spec 009)
- MinVer 8.0.0 em todos os projetos (D-179). A tag vX.Y.Z dá a mesma versão aos 7 pacotes; sem tag, a versão é 0.1.0-alpha.0.N. Tags python/vX.Y.Z são do psrunner e o MinVer as ignora. - Os pacotes levam o README do repositório. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent e1c2ab6 commit 1ddbc77

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

‎Directory.Build.props‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@
1111
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
1212
</PropertyGroup>
1313

14+
<PropertyGroup Label="Version">
15+
<!-- Same version for every package, from the tag vX.Y.Z (MinVer; D-179). python/vX.Y.Z tags belong to psrunner. -->
16+
<MinVerTagPrefix>v</MinVerTagPrefix>
17+
<MinVerMinimumMajorMinor>0.1</MinVerMinimumMajorMinor>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="MinVer" PrivateAssets="all" />
22+
</ItemGroup>
23+
1424
<PropertyGroup Label="Package">
15-
<VersionPrefix>0.1.0</VersionPrefix>
1625
<Authors>net0well</Authors>
1726
<Copyright>Copyright (c) 2026 net0well</Copyright>
1827
<PackageLicenseExpression>MIT</PackageLicenseExpression>

‎Directory.Packages.props‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<PackageVersion Include="Microsoft.Extensions.Options" Version="10.0.13" />
2828
<PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="10.11.0" />
2929
<PackageVersion Include="Microsoft.Playwright" Version="1.63.0" />
30+
<PackageVersion Include="MinVer" Version="8.0.0" />
3031
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.3" />
3132
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.20.1" />
3233
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.20.1" />

‎src/Directory.Build.props‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
<PropertyGroup>
55
<IsPackable>true</IsPackable>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
78
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<None Include="$(MSBuildThisFileDirectory)../README.md" Pack="true" PackagePath="/" Visible="false" />
12+
</ItemGroup>
813
</Project>

0 commit comments

Comments
 (0)