@@ -1,21 +0,0 @@ | |||||
@echo Off | |||||
dotnet restore | |||||
dotnet pack "src\Discord.Net" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.API" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Core" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Commands" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Rest" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.WebSocket" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Rpc" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Providers.WS4Net" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
dotnet pack "src\Discord.Net.Providers.UDPClient" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net\Discord.Net.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.API\Discord.Net.API.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Core\Discord.Net.Core.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Commands\Discord.Net.Commands.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Rest\Discord.Net.Rest.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.WebSocket\Discord.Net.WebSocket.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Rpc\Discord.Net.Rpc.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Providers.WS4Net\Discord.Net.Providers.WS4Net.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" | |||||
REM dotnet pack "src\Discord.Net.Providers.UDPClient\Discord.Net.Providers.UDPClient.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" |
@@ -0,0 +1,15 @@ | |||||
if (Test-Path Env:\APPVEYOR_BUILD_NUMBER) { | |||||
$build = [convert]::ToInt32($env:APPVEYOR_BUILD_NUMBER).ToString("00000") | |||||
} else { | |||||
$build = "dev" | |||||
} | |||||
dotnet restore Discord.Net.sln | |||||
dotnet pack "src\Discord.Net\Discord.Net.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Core\Discord.Net.Core.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Commands\Discord.Net.Commands.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Rest\Discord.Net.Rest.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.WebSocket\Discord.Net.WebSocket.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Rpc\Discord.Net.Rpc.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Providers.WS4Net\Discord.Net.Providers.WS4Net.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" | |||||
dotnet pack "src\Discord.Net.Providers.UdpClient\Discord.Net.Providers.UdpClient.csproj" -c "Release" -o "artifacts" -p:BuildNumber="$build" |
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>A Discord.Net extension adding support for bot commands.</Description> | <Description>A Discord.Net extension adding support for bot commands.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AssemblyName>Discord.Net.Commands</AssemblyName> | <AssemblyName>Discord.Net.Commands</AssemblyName> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>A .Net API wrapper and bot framework for Discord.</Description> | <Description>A .Net API wrapper and bot framework for Discord.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AssemblyName>Discord.Net.Core</AssemblyName> | <AssemblyName>Discord.Net.Core</AssemblyName> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>An optional UDP client provider for Discord.Net using System.Net.UdpClient</Description> | <Description>An optional UDP client provider for Discord.Net using System.Net.UdpClient</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>net45</TargetFrameworks> | <TargetFrameworks>net45</TargetFrameworks> | ||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
<AssemblyName>Discord.Net.Providers.UDPClient</AssemblyName> | <AssemblyName>Discord.Net.Providers.UDPClient</AssemblyName> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>An optional WebSocket client provider for Discord.Net using WebSocket4Net</Description> | <Description>An optional WebSocket client provider for Discord.Net using WebSocket4Net</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>net45</TargetFrameworks> | <TargetFrameworks>net45</TargetFrameworks> | ||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
<AssemblyName>Discord.Net.Providers.WS4Net</AssemblyName> | <AssemblyName>Discord.Net.Providers.WS4Net</AssemblyName> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>A core Discord.Net library containing the REST client and models.</Description> | <Description>A core Discord.Net library containing the REST client and models.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AssemblyName>Discord.Net.Rest</AssemblyName> | <AssemblyName>Discord.Net.Rest</AssemblyName> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>A core Discord.Net library containing the RPC client and models.</Description> | <Description>A core Discord.Net library containing the RPC client and models.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AssemblyName>Discord.Net.Rpc</AssemblyName> | <AssemblyName>Discord.Net.Rpc</AssemblyName> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>A core Discord.Net library containing the WebSocket client and models.</Description> | <Description>A core Discord.Net library containing the WebSocket client and models.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||||
<AssemblyName>Discord.Net.WebSocket</AssemblyName> | <AssemblyName>Discord.Net.WebSocket</AssemblyName> | ||||
@@ -1,7 +1,9 @@ | |||||
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | <Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
<PropertyGroup> | <PropertyGroup> | ||||
<Description>An aynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components.</Description> | <Description>An aynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components.</Description> | ||||
<VersionPrefix>1.0.0-rc</VersionPrefix> | |||||
<VersionPrefix>1.0.0</VersionPrefix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' == ''">rc-dev</VersionSuffix> | |||||
<VersionSuffix Condition="'$(BuildNumber)' != ''">rc-$(BuildNumber)</VersionSuffix> | |||||
<TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | <TargetFrameworks>netstandard1.1;netstandard1.3</TargetFrameworks> | ||||
<AssemblyName>Discord.Net</AssemblyName> | <AssemblyName>Discord.Net</AssemblyName> | ||||
<PackageTags>discord;discordapp</PackageTags> | <PackageTags>discord;discordapp</PackageTags> | ||||