Attempt at proper versioning?
This commit is contained in:
parent
87069bf44c
commit
c0c2386ee8
2
pack.ps1
2
pack.ps1
@ -1,2 +1,2 @@
|
||||
dotnet pack "src\NadekoBot\NadekoBot.csproj" -c "Release" -o "../../artifacts" --no-build /p:BuildNumber="$Env:BUILD" /p:IsTagBuild="$Env:APPVEYOR_REPO_TAG"
|
||||
dotnet pack "src\NadekoBot\NadekoBot.csproj" -c "Release" -o "../../artifacts" --no-build --version-suffix "$Env:BUILD" /p:BuildNumber="$Env:BUILD" /p:IsTagBuild="$Env:APPVEYOR_REPO_TAG"
|
||||
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
|
@ -4,6 +4,7 @@
|
||||
<Description>General purpose Discord bot written in C#.</Description>
|
||||
<Copyright>Kwoth</Copyright>
|
||||
<Authors>Kwoth</Authors>
|
||||
<Version>1.4.$(VersionSuffix)</Version>
|
||||
<TargetFramework>netcoreapp1.1</TargetFramework>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<AssemblyName>NadekoBot</AssemblyName>
|
||||
@ -16,6 +17,8 @@
|
||||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
|
||||
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
|
||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
15
src/NadekoBot/NadekoBot.nuspec
Normal file
15
src/NadekoBot/NadekoBot.nuspec
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>NadekoBot</id>
|
||||
<version>1.4.0-2$suffix$</version>
|
||||
<title>NadekoBot</title>
|
||||
<authors>Kwoth</authors>
|
||||
<owners>Kwoth</owners>
|
||||
<description>General purpose discord chat bot written in C#.</description>
|
||||
<tags>nadeko;bot;nadekobot;discord bot</tags>
|
||||
<projectUrl>https://github.com/Kwoth/NadekoBot</projectUrl>
|
||||
<licenseUrl>https://choosealicense.com/licenses/unlicense/</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
</metadata>
|
||||
</package>
|
Loading…
Reference in New Issue
Block a user