Nuget package release changes. (#112)

* Update Readme with nuget release details.

* Ethr.nuspec file for nuget package release.

Creating ethr.nuspec file to release nuget package to nuget.org
This commit is contained in:
Vivek Anand 2020-02-26 11:30:57 +05:30 committed by GitHub
parent fe09eed5fb
commit 58ae94e286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -71,6 +71,18 @@ Assuming you are using [`yay`](https://aur.archlinux.org/packages/yay/) (https:/
```
yay -S ethr
```
# Publishing Nuget package
Follow the topic Building from Source to build ethr.exe
Modify ethr.nuspec to add new release version
```
vim ethr.nuspec
```
Create a nuget package(like Ethr.0.2.1.nupkg)
```
nuget.exe pack ethr.nuspec
```
Upload the package to nuget.org.
# Usage

23
ethr.nuspec Normal file
View file

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>Ethr</id>
<version>0.2.1</version>
<authors>Pankaj Garg</authors>
<owners>Pankaj Garg</owners>
<projectUrl>https://github.com/microsoft/ethr</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Ethr is a Network Performance Measurement Tool for TCP, UDP and HTTP.</description>
<releaseNotes>This version supports many new options and features described below:
1> -4 or -6 to use specific IP version
2> Reverse mode for TCP
3> HTTPS support
4> External mode for server and client
5> Many more features and options</releaseNotes>
<copyright>Copyright 2020</copyright>
<tags>Network Performance</tags>
</metadata>
<files>
<file src="ethr.exe" />
</files>
</package>