add package versioning
This commit is contained in:
Родитель
32c050dedf
Коммит
e7fbd7cd6b
|
@ -0,0 +1,12 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = crlf
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
|
||||
[*.xaml]
|
||||
indent_size = 2
|
||||
|
||||
[*{.props,.targets}]
|
||||
indent_size = 2
|
|
@ -0,0 +1,45 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<NeutralLanguage>en</NeutralLanguage>
|
||||
<Company>Javier Suárez Ruiz</Company>
|
||||
<Description>A set of .NET MAUI drawn controls.</Description>
|
||||
<PackageProjectUrl>https://github.com/jsuarezruiz/AlohaKit</PackageProjectUrl>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<RepositoryUrl>https://github.com/jsuarezruiz/AlohaKit</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<PackageTags>dotnet,dotnet-maui,maui, controls,drawn-controls,graphics</PackageTags>
|
||||
<PackageIcon>icon.png</PackageIcon>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<Copyright>Javier Suárez Ruiz</Copyright>
|
||||
<Authors>Javier Suárez Ruiz</Authors>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<PackageOutputPath>$(MSBuildThisFileDirectory)Artifacts</PackageOutputPath>
|
||||
<IncludeSymbols>True</IncludeSymbols>
|
||||
<IncludeSource>True</IncludeSource>
|
||||
<ContinuousIntegrationBuild>$(CI)</ContinuousIntegrationBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<VSTestLogger>trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
|
||||
<VSTestResultsDirectory>$(MSBuildThisFileDirectory)TestResults</VSTestResultsDirectory>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="\" />
|
||||
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="\" />
|
||||
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Nerdbank.GitVersioning"
|
||||
Version="3.5.107"
|
||||
PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub"
|
||||
Version="1.1.1"
|
||||
PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,15 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<Product>$(AssemblyName) ($(TargetFramework))</Product>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Nuget source link -->
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -5,8 +5,6 @@
|
|||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks>
|
||||
<UseMaui>true</UseMaui>
|
||||
<SingleProject>true</SingleProject>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
|
||||
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion>
|
||||
|
@ -14,18 +12,7 @@
|
|||
<TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</TargetPlatformMinVersion>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Title>AlohaKit</Title>
|
||||
<Company>Javier Suárez Ruiz</Company>
|
||||
<Description>A set of .NET MAUI drawn controls.</Description>
|
||||
<PackageProjectUrl>https://github.com/jsuarezruiz/AlohaKit</PackageProjectUrl>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<RepositoryUrl>https://github.com/jsuarezruiz/AlohaKit</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<PackageTags>dotnet,dotnet-maui,maui, controls,drawn-controls,graphics</PackageTags>
|
||||
<PackageIcon>icon.png</PackageIcon>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<PackageId>AlohaKit</PackageId>
|
||||
<Copyright>Javier Suárez Ruiz</Copyright>
|
||||
<Authors>Javier Suárez Ruiz</Authors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -35,19 +22,4 @@
|
|||
<Folder Include="Platforms\Windows\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\..\icon.png">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath>\</PackagePath>
|
||||
</None>
|
||||
<None Include="..\..\LICENSE">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath>\</PackagePath>
|
||||
</None>
|
||||
<None Include="..\..\README.md">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath>\</PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
||||
"version": "1.0",
|
||||
"buildNumberOffset": 19,
|
||||
"assemblyVersion": {
|
||||
"precision": "revision"
|
||||
},
|
||||
"publicReleaseRefSpec": [
|
||||
"^refs/heads/master$"
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче