Skip to content

Commit

Permalink
Update NuGet package
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Sep 8, 2018
1 parent 2d3ac8c commit 04d9e4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions pack.nuget.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
param (
$Tag = 'v1.2.0',
$Version = '1.3.0-preview1',
$Tag = "v$Version",
$BaseAddress = "https://github.com/ForNeVeR/tdlib.native/releases/download/$Tag",
$BuildDirectory = "$PSScriptRoot/build",

Expand Down Expand Up @@ -29,7 +30,7 @@ try {

Remove-Item *.zip

& $NuGet pack ../tdlib.native.nuspec -BasePath .
& $NuGet pack ../tdlib.native.nuspec -BasePath . -Version $Version
if (!$?) { throw 'NuGet execution error' }
} finally {
Pop-Location
Expand Down
6 changes: 3 additions & 3 deletions tdlib.native.nuspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0"?>
<package >
<package>
<metadata>
<id>tdlib.native</id>
<version>1.2.0</version>
<version>$version$</version>
<authors>ForNeVeR</authors>
<owners>ForNeVeR</owners>
<licenseUrl>https://github.com/tdlib/td/blob/a9608ca379e1582552d7a123912aa9d68c2bb1ca/LICENSE_1_0.txt</licenseUrl>
<projectUrl>https://github.com/ForNeVeR/tdlib.native</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>NuGet packaging for tdlib: Telegram client library.</description>
<releaseNotes>Initial package release for 1.2.0.</releaseNotes>
<releaseNotes>Update tdlib to 1.3.0.</releaseNotes>
<copyright>Copyright 2018</copyright>
<tags>telegram</tags>
</metadata>
Expand Down

0 comments on commit 04d9e4e

Please sign in to comment.