Skip to content

Commit

Permalink
chore: centralize version
Browse files Browse the repository at this point in the history
  • Loading branch information
josephnhtam committed Oct 2, 2024
1 parent 646bfc4 commit d200fa1
Show file tree
Hide file tree
Showing 23 changed files with 59 additions and 48 deletions.
16 changes: 5 additions & 11 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
<Project>
<PropertyGroup>
<Copyright>Copyright 2024 Joseph NH Tam</Copyright>
<Authors>Joseph NH Tam</Authors>
<Copyright>Copyright 2024 Joseph NH Tam</Copyright>
<IsPackable>false</IsPackable>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.NuGet.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://josephnhtam.github.io/live-streaming-server-net</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>

<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)/images/icon.png" Pack="true" Visible="false" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)README.NuGet.md" Pack="true" Visible="false" PackagePath="\" />
</ItemGroup>

<PropertyGroup>
<SolutionDir>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))\</SolutionDir>
</PropertyGroup>
</Project>
File renamed without changes.
File renamed without changes
18 changes: 18 additions & 0 deletions nuget/nuget-package.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.15.0</VersionPrefix>
<PackageVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
<PackageVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)</PackageVersion>
<IsPackable>true</IsPackable>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://josephnhtam.github.io/live-streaming-server-net</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>

<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" Visible="false" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" Visible="false" PackagePath="\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the Admin Panel UI for LiveStreamingServerNET.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the ASP.NET Core middlewares for serving FLV live streams via HTTP and WebSocket.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv;websocket-flv</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Nito.AsyncEx.Coordination" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<UserSecretsId>85c69c63-6936-4022-87d0-0456ede77c5c</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>..\..</DockerfileContext>
<Version>1.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<Description>This package provides Redis integration for managing live streams across pods.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv;websocket-flv;hls;kubenetes;redis</PackageTags>
<Version>1.0.0</Version>
<VersionSuffix>alpha</VersionSuffix>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<Description>This package provides Kubernetes integration with LiveStreamingServerNet.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv;websocket-flv;hls;kubenetes</PackageTags>
<Version>1.0.0</Version>
<VersionSuffix>alpha</VersionSuffix>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package implements a TCP client.</Description>
<PackageTags>live-streaming;tcp</PackageTags>
<Version>0.15.0</Version>
<VersionSuffix>beta</VersionSuffix>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package implements a TCP server.</Description>
<PackageTags>live-streaming;tcp</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides shared components and utilities for TCP server and client implementations.</Description>
<PackageTags>live-streaming;tcp</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
<InternalsVisibleTo Include="LiveStreamingServerNet.Networking.Server" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package implements an RTMP client.</Description>
<PackageTags>live-streaming;rtmp</PackageTags>
<Version>0.15.0</Version>
<VersionSuffix>beta</VersionSuffix>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Mediator.Abstractions" />
<PackageReference Include="Mediator.SourceGenerator">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package implements an RTMP live streaming server.</Description>
<PackageTags>live-streaming;rtmp</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Mediator.Abstractions" />
<PackageReference Include="Mediator.SourceGenerator">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides shared components and utilities for RTMP server and client implementations.</Description>
<PackageTags>live-streaming;rtmp</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="mtanksl.ActionMessageFormat" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the ASP.NET Core API endpoints and services for a standalone live streaming server.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv;websocket-flv;hls</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the capability of real-time uploading of transmuxed HLS files to Amazon S3.</Description>
<PackageTags>live-streaming;rtmp;transmuxer;transcoder;hls;aws</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="AWSSDK.S3" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the functionality to serve of HLS streams via ASP.NET Core.</Description>
<PackageTags>live-streaming;rtmp;transmuxer;transcoder;hls</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the capability of real-time uploading of transmuxed HLS files to Azure Blob Storage.</Description>
<PackageTags>live-streaming;rtmp;transmuxer;transcoder;hls;azure</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the capability of real-time uploading of transmuxed HLS files to Google Cloud Storage.</Description>
<PackageTags>live-streaming;rtmp;transmuxer;transcoder;hls;google</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Google.Cloud.Storage.V1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides the capability to transmux RTMP streams into HLS format, and integrates with FFmpeg for stream processing.</Description>
<PackageTags>live-streaming;rtmp;transmuxer;transcoder;hls;dash</PackageTags>
<Version>0.15.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
<PackageReference Include="Open.Threading.ReadWrite" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>This package provides common helper classes and utilities for LiveStreamingServerNet.</Description>
<PackageTags>live-streaming</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/LiveStreamingServerNet/LiveStreamingServerNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<Description>LiveStreamingServerNet is a .NET library for building custom RTMP live streaming servers.</Description>
<PackageTags>live-streaming;rtmp;flv;http-flv;websocket-flv;hls</PackageTags>
<Version>0.15.0</Version>
</PropertyGroup>

<Import Project="$(SolutionDir)nuget\nuget-package.props" />

<ItemGroup>
<ProjectReference Include="..\LiveStreamingServerNet.Rtmp.Server\LiveStreamingServerNet.Rtmp.Server.csproj" />
</ItemGroup>
Expand Down

0 comments on commit d200fa1

Please sign in to comment.