Skip to content

Commit

Permalink
Correct dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Feb 26, 2019
1 parent 1bfe208 commit cc98c71
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Sergey Kuznetsov
Copyright (c) 2019 Sergey Kuznetsov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Prometheus.Client.Owin

[![MyGet](https://img.shields.io/myget/phnx47-beta/vpre/Prometheus.Client.Owin.svg)](https://www.myget.org/feed/phnx47-beta/package/nuget/Prometheus.Client.Owin)
[![NuGet](https://img.shields.io/nuget/v/Prometheus.Client.Owin.svg)](https://www.nuget.org/packages/Prometheus.Client.Owin)
[![NuGet](https://img.shields.io/nuget/dt/Prometheus.Client.Owin.svg)](https://www.nuget.org/packages/Prometheus.Client.Owin)

[![Build status](https://ci.appveyor.com/api/projects/status/mi4ylkkw9j3ovvo9/branch/master?svg=true)](https://ci.appveyor.com/project/PrometheusClientNet/prometheus-client-owin/branch/master)
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)

Expand All @@ -13,9 +11,9 @@ Extension for [Prometheus.Client](https://github.com/PrometheusClientNet/Prometh

dotnet add package Prometheus.Client.Owin

#### Quik start:
#### Use

There are [Examples](https://github.com/PrometheusClientNet/Prometheus.Client.Examples/tree/master/Middleware/WebOwin_4.5)
There are [Examples](https://github.com/PrometheusClientNet/Prometheus.Client.Examples/tree/net45-support/Middleware/WebOwin_4.5)

```csharp

Expand Down
11 changes: 0 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,10 @@ after_build:
artifacts:
- path: '**\artifacts\nuget\*.nupkg'
name: Nuget
- path: '**\artifacts\myget\*.nupkg'
name: Myget

deploy:
- provider: NuGet
api_key:
secure: ElAeMRSkpq3xUZ1TbenrrObh1zB/p62I5ICs92heJnTvkcl4Znc5o36vCyqcOK49
on:
appveyor_repo_tag: true
- provider: NuGet
server: https://www.myget.org/F/phnx47-beta/api/v2/package
api_key:
secure: Smuwoi47XyX6b6x66VpPnnL96F3cl1nukALrFnZo1Oony38dzouByG7pnt6DX4HT
symbol_server: https://www.myget.org/F/phnx47-beta/symbols/api/v2/package
artifact: MyGet
on:
branch: master
appveyor_repo_tag: false
7 changes: 1 addition & 6 deletions pack.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
if ($env:APPVEYOR_REPO_TAG -eq "false") {
dotnet pack $env:APPVEYOR_BUILD_FOLDER\src\Prometheus.Client.Owin -c Release --include-symbols --no-build --version-suffix build$env:APPVEYOR_BUILD_NUMBER -o artifacts\myget
}
dotnet pack $env:APPVEYOR_BUILD_FOLDER\src\Prometheus.Client.Owin -c Release --include-symbols --no-build -o artifacts\nuget

if ($env:APPVEYOR_REPO_TAG -eq "true") {
dotnet pack $env:APPVEYOR_BUILD_FOLDER\src\Prometheus.Client.Owin -c Release --include-symbols --no-build -o artifacts\nuget
}
4 changes: 2 additions & 2 deletions src/Prometheus.Client.Owin/Prometheus.Client.Owin.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Middleware for the Prometheus.Client</Description>
<Copyright>2018 © Sergey Kuznetsov</Copyright>
<Copyright>2019 © Sergey Kuznetsov</Copyright>
<AssemblyTitle>Prometheus.Client.Owin</AssemblyTitle>
<VersionPrefix>2.1.1</VersionPrefix>
<Authors>Sergey Kuznetsov</Authors>
Expand All @@ -19,7 +19,7 @@
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="Microsoft.Owin" Version="3.0.1" />
<PackageReference Include="Prometheus.Client" Version="2.0.0" />
<PackageReference Include="Prometheus.Client" Version="[2.0.0,3.0.0)" />
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
Expand Down

0 comments on commit cc98c71

Please sign in to comment.